From: William Jojo Date: Thu, 8 May 2008 10:41:57 +0000 (+0200) Subject: Add undefined symbol flag for AIX. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdf2a94583949150fd426f44cd33265fc6fd9d6e;p=thirdparty%2Fsamba.git Add undefined symbol flag for AIX. (cherry picked from commit dabdf24e86f038e3afc67532fa5bf60a37992161) --- diff --git a/source/lib/replace/libreplace_ld.m4 b/source/lib/replace/libreplace_ld.m4 index f0d10c1e3e3..0d0356055c7 100644 --- a/source/lib/replace/libreplace_ld.m4 +++ b/source/lib/replace/libreplace_ld.m4 @@ -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)