Link smbd on AIX with -bexpfull instead of -bexpall
authorVolker Lendecke <vl@samba.org>
Mon, 21 Jan 2008 14:00:34 +0000 (15:00 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 21 Jan 2008 14:01:19 +0000 (15:01 +0100)
-bexpall only exports the names without leading _, so we don't get
_talloc_reallo_array for example.

Thanks a lot to Heinrich Mislik for the hint!
(This used to be commit 74a71f198866ba0a0217e58a6a47bdc858d5df68)

source3/configure.in

index 25e3b3600bd87961c2bd7d99cbebd44370a43695..fcbe56f268a0491eb0c4b384c168cbac9638c07a 100644 (file)
@@ -1864,7 +1864,7 @@ DSO_EXPORTS=""
                *aix*) AC_DEFINE(AIX,1,[Whether the host os is aix])
                        BLDSHARED="true"
                        LDSHFLAGS="-Wl,-G,-bexpall,-bbigtoc"
-                       DYNEXP="-Wl,-brtl,-bexpall,-bbigtoc"
+                       DYNEXP="-Wl,-brtl,-bexpfull,-bbigtoc"
                        PICFLAG="-O2"
                        # as AIX code is always position independent...
                        # .po will just create compile warnings, use po.o: