2..2.4-pre Makefile inconsistencies - Fix enclosed

Richard Bollinger rabollinger at attbi.com
Mon Apr 29 06:54:03 GMT 2002


Repeated makes on Linux result in libnss_winbind.so being rebuilt _every_ time in spite of no
changes.

Problem is inconsistency between targets and commands.  Patches to configure.in and Makefile.in are
as follows:

--- ../source/configure.in Mon Apr 29 07:16:35 2002
+++ ./configure.in Mon Apr 29 09:32:29 2002
@@ -2674,10 +2674,10 @@
  WINBIND_STARGETS="bin/winbindd"
  case "$host_os" in
         *irix*)
- WINBIND_LTARGETS="libns_winbind.so"
+ WINBIND_LTARGETS="nsswitch/libns_winbind.so"
                 ;;
         *)
- WINBIND_LTARGETS="libnss_winbind.so"
+ WINBIND_LTARGETS="nsswitch/libnss_winbind.so"
                 ;;
  esac

--- ../source/Makefile.in Mon Apr 29 07:15:48 2002
+++ ./Makefile.in Mon Apr 29 09:37:02 2002
@@ -663,7 +663,7 @@

 @WINBIND_LTARGETS@: $(WINBIND_NSS_PICOBJS)
  @echo "Linking $@"
- @$(SHLD) @LDSHFLAGS@ -o nsswitch/$@ $(WINBIND_NSS_PICOBJS) @WINBIND_NSS_EXTRA_LIBS@
+ @$(SHLD) @LDSHFLAGS@ -o $@ $(WINBIND_NSS_PICOBJS) @WINBIND_NSS_EXTRA_LIBS@

 nsswitch/pam_winbind.so: $(PAM_WINBIND_OBJ) bin/.dummy
  @echo Linking $@


Please run autoconf and check in the resulting "configure" file as well.

Rich Bollinger, Elliott Company





More information about the samba-technical mailing list