s4-waf: fixed WINBINDD_SOCKET_DIR for wb_common in s4
authorAndrew Tridgell <tridge@samba.org>
Mon, 19 Apr 2010 08:00:47 +0000 (18:00 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 19 Apr 2010 08:21:42 +0000 (18:21 +1000)
s4 uses a different path for the socket

nsswitch/wscript_build

index e13b4dc40223e1fa682e3cba515eae9758cd4768..80f11871c90292ed7c35d9953e8587591046933c 100644 (file)
@@ -3,7 +3,7 @@
 bld.SAMBA_SUBSYSTEM('LIBWINBIND-CLIENT',
                     source='wb_common.c',
                     deps='replace',
-                    cflags='-DSOCKET_WRAPPER_DISABLE=1'
+                    cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR
                     )