summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nsswitch/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/nsswitch/config.mk b/nsswitch/config.mk
index a85939c4f4..9ad873bed1 100644
--- a/nsswitch/config.mk
+++ b/nsswitch/config.mk
@@ -2,6 +2,7 @@
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
@@ -37,3 +38,4 @@ PRIVATE_DEPENDENCIES = \
wbinfo_OBJ_FILES = \
$(nsswitchsrcdir)/wbinfo.o
+$(wbinfo_OBJ_FILES): CFLAGS+=-DWINBINDD_SOCKET_DIR=\"$(winbindd_socket_dir)\"