From 1af5a6d35966ddb5435214a6d1f8ba34be697001 Mon Sep 17 00:00:00 2001 From: Matthieu Patou Date: Mon, 1 Mar 2010 00:21:09 +0300 Subject: s3: Allow pam_winbind.c to build without localedir.c Signed-off-by: Stefan Metzmacher --- source3/Makefile.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/Makefile.in b/source3/Makefile.in index ead1d316c4..8678d15acc 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;\ -- cgit