From 8414b45f48d68b898a6dda27069c377088687fb8 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 5 Apr 2008 14:54:35 +0000 Subject: * configure.ac.pamphlet (oa_shrlib_flags): Tidy. (oa_shrobj_flags): Likewise. * config/var-def.mk (LINK_SHRLIB): Tidy. * INSTALL: Update. * TODO: Likewise. --- configure | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'configure') 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 -- cgit v1.2.3