1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

r25886: Try to fix building dso's on hpux with gcc

(This used to be commit 146c5226e61235a55155ef4493191a6c5eddea3f)
This commit is contained in:
Jelmer Vernooij 2007-11-07 01:32:17 +01:00 committed by Stefan Metzmacher
parent 575678557b
commit 2109bf0515

View File

@ -98,7 +98,11 @@ AC_DEFUN([AC_LD_SHLDFLAGS],
SHLD_FLAGS="-Wl,-G,-bexpall,-bbigtoc"
;;
*hpux*)
SHLD_FLAGS="-b -Wl,-B,symbolic,-b,-z"
if test "${GCC}" = "yes"; then
SHLD_FLAGS="-shared"
else
SHLD_FLAGS="-b"
fi
;;
*darwin*)
SHLD_FLAGS="-dynamiclib"