summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-07-14 02:52:41 +0000
committerRichard Sharpe <sharpe@samba.org>2001-07-14 02:52:41 +0000
commit57673d585a532a783cb0c0b61a652bbe7e3e7cf6 (patch)
treef2bca1eef48591f7ffd20d84192500a8f4fd7f4a /source3/configure.in
parentafa73000063d7c3eb94ccc7b423c8a7bea28f9a5 (diff)
downloadsamba-57673d585a532a783cb0c0b61a652bbe7e3e7cf6.tar.gz
samba-57673d585a532a783cb0c0b61a652bbe7e3e7cf6.tar.bz2
samba-57673d585a532a783cb0c0b61a652bbe7e3e7cf6.zip
A few tweaks around linking libsmbclient
(This used to be commit 83334fc474008d9f338204e73eacc5665e26bf0c)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 721cdd93c2..805e8c0b06 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -9,6 +9,7 @@ AC_SUBST(SHELL)
AC_SUBST(RUNPROG)
AC_SUBST(MPROGS)
AC_SUBST(LDSHFLAGS)
+AC_SUBST(SHLD)
AC_SUBST(HOST_OS)
AC_SUBST(PAM_MOD)
AC_SUBST(WRAP)
@@ -606,6 +607,7 @@ AC_LIBTESTFUNC(sec, getprpwnam)
# these are the defaults, good for lots of systems
HOST_OS="$host_os"
LDSHFLAGS="-shared"
+SHLD="\${CC}"
PICFLAG=""
SHLIBEXT="so"
BLDSHARED="false"
@@ -627,8 +629,7 @@ case "$host_os" in
LDSHFLAGS="-Wl,-h,\$@ -G"
PICFLAG="-KPIC -O2" # Is this correct for SunOS
;;
- *bsd*) LDSHFLAGS="-shared -Bshareable"
- BLDSHARED="true"
+ *bsd*) BLDSHARED="true"
LDSHFLAGS="-Wl,-soname,\$@ -shared"
PICFLAG="-fPIC -O2"
;;