aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-04-05 14:54:35 +0000
committerdos-reis <gdr@axiomatics.org>2008-04-05 14:54:35 +0000
commit8414b45f48d68b898a6dda27069c377088687fb8 (patch)
treefbcb5352ce3903a5530e862e55c0b94dcdd2b297 /configure
parent9b1d808dba887f96e4607ed95465afb3ead9f420 (diff)
downloadopen-axiom-8414b45f48d68b898a6dda27069c377088687fb8.tar.gz
* configure.ac.pamphlet (oa_shrlib_flags): Tidy.
(oa_shrobj_flags): Likewise. * config/var-def.mk (LINK_SHRLIB): Tidy. * INSTALL: Update. * TODO: Likewise.
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