git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad1943
)
s3:configure: use correct SONAMEFLAG on Solaris depending on which linker is being...
author
Björn Jacke
<bj@sernet.de>
Fri, 7 May 2010 09:56:38 +0000
(11:56 +0200)
committer
Björn Jacke
<bj@sernet.de>
Fri, 7 May 2010 09:58:09 +0000
(11:58 +0200)
source3/configure.in
patch
|
blob
|
history
diff --git
a/source3/configure.in
b/source3/configure.in
index 330e2e85edba6702e17a7d493f428ab1d62c6a38..61e60a11b6fcde36d55a6d2a025f9e7138911712 100644
(file)
--- a/
source3/configure.in
+++ b/
source3/configure.in
@@
-1562,11
+1562,15
@@
DSO_EXPORTS=""
LDSHFLAGS="-shared"
else
PICFLAG="-KPIC"
- SONAMEFLAG="-h "
## ${CFLAGS} added for building 64-bit shared
## libs using Sun's Compiler
LDSHFLAGS="-G \${CFLAGS}"
fi
+ if test "$ac_cv_prog_gnu_ld" = "yes"; then
+ SONAMEFLAG="-Wl,-soname="
+ else
+ SONAMEFLAG="-Wl,-h,"
+ fi
AC_DEFINE(STAT_ST_BLOCKSIZE,512,[The size of a block])
AC_DEFINE(BROKEN_GETGRNAM,1,[Does getgrnam work correctly])
;;