Add undefined symbol flag for AIX.
authorWilliam Jojo <jojowil@hvcc.edu>
Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 8 May 2008 10:41:57 +0000 (12:41 +0200)
(This used to be commit dabdf24e86f038e3afc67532fa5bf60a37992161)

source4/lib/replace/libreplace_ld.m4

index f0d10c1e3e334b9feef3b1680052a7599edc7212..0d0356055c7f22dda1b5f58822ab990b14d12db2 100644 (file)
@@ -270,6 +270,10 @@ AC_DEFUN([AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG],
                *darwin*)
                        LD_SHLIB_ALLOW_UNDEF_FLAG="-undefined dynamic_lookup"
                        ;;
+               *aix*)
+                       LD_SHLIB_ALLOW_UNDEF_FLAG="--Wl,-bnoentry"
+                       ;;
+               ;
        esac
 
        AC_SUBST(LD_SHLIB_ALLOW_UNDEF_FLAG)