diff options
Diffstat (limited to 'source3/configure.in')
| -rw-r--r-- | source3/configure.in | 5 |
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" ;; |
