diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-07-23 12:22:08 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-07-23 12:22:08 +0000 |
commit | 98e5e022319a6c90a928fecab1ea27e55f74d98a (patch) | |
tree | 5d798e946b7104512713fab2a50e3c6ccbab7096 /source/configure.in | |
parent | d63b03f7536abb0745ad2a084c44108a3c19a8b6 (diff) | |
download | samba-98e5e022319a6c90a928fecab1ea27e55f74d98a.tar.gz samba-98e5e022319a6c90a928fecab1ea27e55f74d98a.tar.xz samba-98e5e022319a6c90a928fecab1ea27e55f74d98a.zip |
One more possible fix for Solaris CC and GCC
Diffstat (limited to 'source/configure.in')
-rw-r--r-- | source/configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/configure.in b/source/configure.in index 8385be9d452..1691e73f218 100644 --- a/source/configure.in +++ b/source/configure.in @@ -625,13 +625,14 @@ case "$host_os" in ;; *solaris*) AC_DEFINE(SUNOS5) BLDSHARED="true" - LDSHFLAGS="-Wl,-soname,\$@ -shared" if test "${ac_cv_prog_CC}" = "gcc"; then PICFLAG="-fPIC" + LDSHFLAGS="-shared" else PICFLAG="-KPIC -xO4" POBAD_CC="" PICSUFFIX="po.o" + LDSHFLAGS="-Wl,-soname,\$@" fi ;; *sunos*) AC_DEFINE(SUNOS4) |