mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
r192: Fix configure.in to only use $BLDSHARED to select whether to build static or shared libraries.
(This used to be commit 35d7435caec55765b39508889d77583c4ec4807c)
This commit is contained in:
parent
f4b35be4dd
commit
a60f81d1e0
@ -4195,7 +4195,7 @@ if test x"$HAVE_WINBIND" = x"yes"; then
|
||||
|
||||
EXTRA_BIN_PROGS="$EXTRA_BIN_PROGS bin/wbinfo\$(EXEEXT)"
|
||||
EXTRA_SBIN_PROGS="$EXTRA_SBIN_PROGS bin/winbindd\$(EXEEXT)"
|
||||
if test x"$BLDSHARED" = x"true"; then
|
||||
if test $BLDSHARED = true; then
|
||||
SHLIB_PROGS="$SHLIB_PROGS $WINBIND_NSS $WINBIND_WINS_NSS"
|
||||
|
||||
if test x"$with_pam" = x"yes"; then
|
||||
@ -4287,10 +4287,10 @@ done
|
||||
|
||||
for i in `echo $default_shared_modules | sed -e's/,/ /g'`
|
||||
do
|
||||
dnl Fall back to static if dlopen() is not available
|
||||
dnl Fall back to static if we cannot build shared libraries
|
||||
eval MODULE_DEFAULT_$i=STATIC
|
||||
|
||||
if test x"$ac_cv_func_dlopen" = xyes; then
|
||||
if test $BLDSHARED = true; then
|
||||
eval MODULE_DEFAULT_$i=SHARED
|
||||
fi
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user