aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 4c7b022c..3b12b715 100755
--- a/configure
+++ b/configure
@@ -1992,8 +1992,8 @@ ac_config_headers="$ac_config_headers config/axiom-c-macros.h"
oa_use_libtool_for_shared_lib=yes
-oa_shrobj_flags='-prefer-pic'
-oa_shrlib_flags='-shared'
+oa_shrobj_flags=
+oa_shrlib_flags=
# Tell Libtool to assume `dlopen' so that it does not have to
# emulate it.
@@ -19320,9 +19320,11 @@ case $host in
;;
*darwin*)
oa_shrobj_flags='-dynamic'
- oa_shrlib_flags='-dynamic'
+ oa_shrlib_flags='-dynamiclib -undefined suppress -flat_namespace'
;;
*)
+ oa_shrobj_flags='-prefer-pic'
+ oa_shrlib_flags='-shared -module'
;;
esac