summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
authorWilliam Jojo <jojowil@hvcc.edu>2008-05-08 12:41:57 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-08 12:41:57 +0200
commitb3e1d69dcd58a72851b2efefd83ade377c9d2e85 (patch)
tree80decf2f1f2b1eca162ecf55a6a52507e2177bee /source4/lib/replace
parentc68589a5dcefc2cd337449d343019271192fc11a (diff)
downloadsamba-b3e1d69dcd58a72851b2efefd83ade377c9d2e85.tar.gz
samba-b3e1d69dcd58a72851b2efefd83ade377c9d2e85.tar.bz2
samba-b3e1d69dcd58a72851b2efefd83ade377c9d2e85.zip
Add undefined symbol flag for AIX.
(This used to be commit dabdf24e86f038e3afc67532fa5bf60a37992161)
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/libreplace_ld.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4
index f0d10c1e3e..0d0356055c 100644
--- a/source4/lib/replace/libreplace_ld.m4
+++ b/source4/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)