From: Matthieu Patou Date: Sun, 28 Feb 2010 21:21:09 +0000 (+0300) Subject: s3: Allow pam_winbind.c to build without localedir.c X-Git-Tag: samba-3.6.0pre1~4823 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1af5a6d35966ddb5435214a6d1f8ba34be697001;p=thirdparty%2Fsamba.git s3: Allow pam_winbind.c to build without localedir.c Signed-off-by: Stefan Metzmacher --- diff --git a/source3/Makefile.in b/source3/Makefile.in index ead1d316c47..8678d15acca 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -921,7 +921,7 @@ RPCCLIENT_OBJ = $(RPCCLIENT_OBJ1) \ $(LIBADS_OBJ) $(POPT_LIB_OBJ) \ $(SMBLDAP_OBJ) $(DCUTIL_OBJ) $(LDB_OBJ) -PAM_WINBIND_OBJ = ../nsswitch/pam_winbind.o localedir.o $(WBCOMMON_OBJ) \ +PAM_WINBIND_OBJ = ../nsswitch/pam_winbind.o $(WBCOMMON_OBJ) \ $(LIBREPLACE_OBJ) @BUILD_INIPARSER@ LIBSMBCLIENT_THREAD_OBJ = \ @@ -1522,6 +1522,13 @@ dynconfig.o: dynconfig.c Makefile echo "$(COMPILE_CC_PATH)" 1>&2;\ $(COMPILE_CC_PATH) >/dev/null 2>&1 +../nsswitch/pam_winbind.o: ../nsswitch/pam_winbind.c Makefile + @echo Compiling $*.c + @$(COMPILE_CC_PATH) && exit 0;\ + echo "The following command failed:" 1>&2;\ + echo "$(COMPILE_CC_PATH)" 1>&2;\ + $(COMPILE_CC_PATH) >/dev/null 2>&1 + localedir.o: localedir.c Makefile @echo Compiling $*.c @$(COMPILE_CC_PATH) && exit 0;\