mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
a51d750652
The code part makes use of the "NSS wrapper" if it is enabled. Surprisingly the build process doesn't break with the missing dependency on more recent systems. But with an older CentOS 4 installation it has been broken. This patch should fix the problem on older distributions while keep the build running on newer ones.
43 lines
1001 B
Makefile
43 lines
1001 B
Makefile
[SUBSYSTEM::LIBWINBIND-CLIENT]
|
|
PRIVATE_DEPENDENCIES = SOCKET_WRAPPER
|
|
|
|
LIBWINBIND-CLIENT_OBJ_FILES = $(nsswitchsrcdir)/wb_common.o
|
|
$(LIBWINBIND-CLIENT_OBJ_FILES): CFLAGS+=-DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"
|
|
|
|
#################################
|
|
# Start BINARY nsstest
|
|
[BINARY::nsstest]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-UTIL \
|
|
LIBREPLACE_EXT \
|
|
LIBSAMBA-HOSTCONFIG \
|
|
NSS_WRAPPER
|
|
# End BINARY nsstest
|
|
#################################
|
|
|
|
nsstest_OBJ_FILES = $(nsswitchsrcdir)/nsstest.o
|
|
|
|
#################################
|
|
# Start BINARY wbinfo
|
|
[BINARY::wbinfo]
|
|
INSTALLDIR = BINDIR
|
|
PRIVATE_DEPENDENCIES = \
|
|
LIBSAMBA-UTIL \
|
|
LIBREPLACE_EXT \
|
|
LIBCLI_AUTH \
|
|
LIBPOPT \
|
|
POPT_SAMBA \
|
|
LIBWINBIND-CLIENT \
|
|
LIBWBCLIENT \
|
|
LIBTEVENT \
|
|
UTIL_TEVENT \
|
|
LIBASYNC_REQ \
|
|
UID_WRAPPER
|
|
# End BINARY nsstest
|
|
#################################
|
|
|
|
wbinfo_OBJ_FILES = \
|
|
$(nsswitchsrcdir)/wbinfo.o
|
|
$(wbinfo_OBJ_FILES): CFLAGS+=-DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"
|