summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d062929..9797d69 100644
--- a/configure.ac
+++ b/configure.ac
@@ -218,6 +218,9 @@ case $host_os in
linux*)
OS_CFLAGS="-D_XOPEN_SOURCE"
;;
+ darwin*)
+ OS_CFLAGS="-Wl,-flat_namespace"
+ ;;
*)
OS_CFLAGS=
;;