diff options
-rw-r--r-- | source3/configure.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in index 8c00d39d73..358d9da7b7 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1618,7 +1618,9 @@ DSO_EXPORTS="" ;; *aix*) AC_DEFINE(AIX,1,[Whether the host os is aix]) BLDSHARED="true" - LDSHFLAGS="-Wl,-G,-bexpfull,-bbigtoc" + # use expfull to export underscored symbols + # add rtl to remove /lib/crt0.o warning + LDSHFLAGS="-Wl,-G,-bexpfull,-bbigtoc,-brtl" DYNEXP="-Wl,-brtl,-bexpfull,-bbigtoc" PICFLAG="-O2" # as AIX code is always position independent... |