summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-06-05 02:13:21 +0200
committerBjörn Jacke <bj@sernet.de>2010-06-05 02:15:29 +0200
commit79ec886aa4e8398cd45d9821030a1b87a17950f8 (patch)
treee94c2450fe42faacd5c217d0c3b6a2b9ed9c09c9
parenta973eb1968c416eb17de71655173fa2af16cb185 (diff)
downloadsamba-79ec886aa4e8398cd45d9821030a1b87a17950f8.tar.gz
samba-79ec886aa4e8398cd45d9821030a1b87a17950f8.tar.bz2
samba-79ec886aa4e8398cd45d9821030a1b87a17950f8.zip
s3:build: add shared lib flag for HP-UX compiler
-rw-r--r--source3/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 146dc855cf..71d416c5fb 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1674,7 +1674,9 @@ DSO_EXPORTS=""
LDSHFLAGS="-shared"
else
PICFLAG="+z"
- LDSHFLAGS="-Wl,-B,symbolic,-b"
+ LDSHFLAGS="-b"
+ # "Uses depth-first symbol resolution"
+ LDSHFLAGS="$LDSHFLAGS -Wl,-B,symbolic,-b"
if test "$host_cpu" != "ia64"; then
# "don't store literals in read-only memory" (?):
PICFLAG="$PICFLAG +ESnolit"