mirror of
https://github.com/samba-team/samba.git
synced 2025-01-17 02:05:21 +03:00
AIX doesn't append $SHLIB_EXT to NSS libraries.
Also merged a little bit of abartlet's recent configure.in change of duplicated IRIX stuff. (This used to be commit d15406ad910bc952c741e8d4d574064dbc5e88ef)
This commit is contained in:
parent
722791b4f8
commit
4b8d28f832
@ -657,7 +657,7 @@ smbfilter : SHOWFLAGS bin/smbfilter@EXEEXT@
|
||||
|
||||
talloctort : SHOWFLAGS bin/talloctort@EXEEXT@
|
||||
|
||||
nsswitch : SHOWFLAGS bin/winbindd@EXEEXT@ bin/wbinfo@EXEEXT@ nsswitch/@WINBIND_NSS@.@SHLIBEXT@ nsswitch/pam_winbind.@SHLIBEXT@
|
||||
nsswitch : SHOWFLAGS bin/winbindd@EXEEXT@ bin/wbinfo@EXEEXT@ nsswitch/@WINBIND_NSS@ nsswitch/pam_winbind.@SHLIBEXT@
|
||||
|
||||
wins : SHOWFLAGS nsswitch/libnss_wins.@SHLIBEXT@
|
||||
|
||||
@ -979,7 +979,7 @@ bin/winbindd@EXEEXT@: $(WINBINDD_OBJ) @BUILD_POPT@ bin/.dummy
|
||||
@$(LINK) -o $@ $(WINBINDD_OBJ) $(DYNEXP) $(LIBS) @POPTLIBS@ $(ADSLIBS) \
|
||||
@LDAP_LIBS@
|
||||
|
||||
nsswitch/@WINBIND_NSS@.@SHLIBEXT@: $(WINBIND_NSS_PICOBJS)
|
||||
nsswitch/@WINBIND_NSS@: $(WINBIND_NSS_PICOBJS)
|
||||
@echo "Linking $@"
|
||||
@$(SHLD) $(WINBIND_NSS_LDSHFLAGS) -o $@ $(WINBIND_NSS_PICOBJS) \
|
||||
@WINBIND_NSS_EXTRA_LIBS@ @SONAMEFLAG@`basename $@`
|
||||
|
@ -3212,7 +3212,7 @@ HAVE_WINBIND=yes
|
||||
# Define the winbind shared library name and any specific linker flags
|
||||
# it needs to be built with.
|
||||
|
||||
WINBIND_NSS=libnss_winbind
|
||||
WINBIND_NSS=libnss_winbind.$SHLIBEXT
|
||||
WINBIND_NSS_LDSHFLAGS=$LDSHFLAGS
|
||||
|
||||
case "$host_os" in
|
||||
@ -3221,7 +3221,7 @@ case "$host_os" in
|
||||
;;
|
||||
*irix*)
|
||||
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_irix.o"
|
||||
WINBIND_NSS="libns_winbind"
|
||||
WINBIND_NSS="libns_winbind.$SHLIBEXT"
|
||||
;;
|
||||
*solaris*)
|
||||
# Solaris winbind client is implemented as a wrapper around
|
||||
@ -3236,6 +3236,7 @@ case "$host_os" in
|
||||
*aix*)
|
||||
WINBIND_NSS_EXTRA_OBJS="nsswitch/winbind_nss_aix.o"
|
||||
WINBIND_NSS_LDSHFLAGS="-Wl,-bexpall,-bM:SRE,-ewb_aix_init"
|
||||
WINBIND_NSS="WINBIND"
|
||||
;;
|
||||
*)
|
||||
HAVE_WINBIND=no
|
||||
@ -3282,14 +3283,8 @@ 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
|
||||
case "$host_os" in
|
||||
*irix*)
|
||||
SHLIB_PROGS="$SHLIB_PROGS nsswitch/libns_winbind.$SHLIBEXT"
|
||||
;;
|
||||
*)
|
||||
SHLIB_PROGS="$SHLIB_PROGS nsswitch/libnss_winbind.$SHLIBEXT"
|
||||
;;
|
||||
esac
|
||||
SHLIB_PROGS="$SHLIB_PROGS nsswitch/$WINBIND_NSS"
|
||||
|
||||
if test x"$with_pam" = x"yes"; then
|
||||
SHLIB_PROGS="$SHLIB_PROGS nsswitch/pam_winbind.$SHLIBEXT"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user