Add -brtl to the AIX linker flags
authorVolker Lendecke <vl@samba.org>
Thu, 12 Jun 2008 10:35:28 +0000 (12:35 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 12 Jun 2008 10:35:28 +0000 (12:35 +0200)
Thanks to William Jojo

source/configure.in

index e015f9e8626f8c3703fddb126c2987615d1c2e08..9d247ad67ed5e851d9d16c9bbd3f1ad215d72b48 100644 (file)
@@ -1600,7 +1600,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...