diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-06-07 18:31:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:36 -0500 |
commit | 6e14c2cc00d6ac206d7e8cd025e961d88d4a9e47 (patch) | |
tree | f4224efb30e3cd29d477b8a99759ceb3cc91a873 /source4/build/m4/rewrite.m4 | |
parent | c0871cb0c13599039f4e8243bd8d60d472653930 (diff) | |
download | samba-6e14c2cc00d6ac206d7e8cd025e961d88d4a9e47.tar.gz samba-6e14c2cc00d6ac206d7e8cd025e961d88d4a9e47.tar.xz samba-6e14c2cc00d6ac206d7e8cd025e961d88d4a9e47.zip |
r1073: import DYNEXP flags to smb_build
and use @{$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} for the flags
I'll use this for all vars which are currently using AC_SUBST(),
so we can skip Makefile.in...
(this should fix the build on us4...)
metze
(This used to be commit 798cbed5a328bd773447f1ee0b4f6ea751062e7e)
Diffstat (limited to 'source4/build/m4/rewrite.m4')
-rw-r--r-- | source4/build/m4/rewrite.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4 index 465a3354fa..bd29d03c1f 100644 --- a/source4/build/m4/rewrite.m4 +++ b/source4/build/m4/rewrite.m4 @@ -670,7 +670,6 @@ case "$host_os" in AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; esac -AC_SUBST(DYNEXP) AC_MSG_RESULT($BLDSHARED) AC_MSG_CHECKING([linker flags for shared libraries]) AC_MSG_RESULT([$LDSHFLAGS]) @@ -701,6 +700,14 @@ if test $ac_cv_shlib_works = no; then fi fi +SMB_INFO_BUILD_ENV="$SMB_INFO_BUILD_ENV +############################################# +# Start Tell the Linker to export all symbols +@{\$SMB_BUILD_CTX->{BUILD_ENV}{LD}{DYNEXP}} = str2array(\"$DYNEXP\"); +# End Tell the Linker to export all symbols +############################################# +" + # # Check if the compiler supports the LL prefix on long long integers. # AIX needs this. |