fix module linking on AIX
Roylance, Stephen D.
SROYLANCE at PARTNERS.ORG
Wed Apr 16 14:36:11 GMT 2003
The following patch to configure.in changes LDSHFLAGS to allow enresolved
external references.
*** ../../../cvs2/samba/source/configure.in Wed Apr 16 09:10:52 2003
--- configure.in Tue Apr 15 09:49:10 2003
***************
*** 996,1002 ****
;;
*aix*) AC_DEFINE(AIX,1,[Whether the host os is aix])
BLDSHARED="true"
! LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-bnoentry"
DYNEXP="-Wl,-brtl,-bexpall"
PICFLAG="-O2"
if test "${GCC}" != "yes"; then
--- 996,1002 ----
;;
*aix*) AC_DEFINE(AIX,1,[Whether the host os is aix])
BLDSHARED="true"
! LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-bnoentry,-berok"
DYNEXP="-Wl,-brtl,-bexpall"
PICFLAG="-O2"
if test "${GCC}" != "yes"; then
I'm not sure if this is correct, but it allows HEAD to build for me on AIX 5.1
-Steve
More information about the samba-technical
mailing list