summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorWilliam Jojo <jojowil@hvcc.edu>2008-05-08 12:41:57 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-16 08:51:47 +0200
commit25f1cecbaefec440994a95e8ca2cf7e39669ceb0 (patch)
treec0b22ec555fe746bcb63571256103b4753683ed6 /source3/lib
parent299485c38e688ee5ab10c9a10aaa5a69fa1c17de (diff)
downloadsamba-25f1cecbaefec440994a95e8ca2cf7e39669ceb0.tar.gz
samba-25f1cecbaefec440994a95e8ca2cf7e39669ceb0.tar.bz2
samba-25f1cecbaefec440994a95e8ca2cf7e39669ceb0.zip
Add undefined symbol flag for AIX.
(cherry picked from commit dabdf24e86f038e3afc67532fa5bf60a37992161) (This used to be commit 104316884576a2d904d9d8b2d7c1e0dc80817b66)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/libreplace_ld.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/replace/libreplace_ld.m4 b/source3/lib/replace/libreplace_ld.m4
index f0d10c1e3e..0d0356055c 100644
--- a/source3/lib/replace/libreplace_ld.m4
+++ b/source3/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)