lib/glob/glob.c uses shell.h and pathnames.h

--- bash-4.1/lib/glob/Makefile.in
+++ bash-4.1/lib/glob/Makefile.in
@@ -119,6 +119,11 @@
 mostlyclean: clean
        -( cd doc && $(MAKE) $(MFLAGS) $@ )
 
+# Dependencies
+
+${BUILD_DIR}/pathnames.h: ${BUILD_DIR}/config.h ${BUILD_DIR}/Makefile Makefile
+       -( cd ${BUILD_DIR} && ${MAKE} ${MFLAGS} pathnames.h )
+
 ######################################################################
 #                                                                   #
 #  Dependencies for the object files which make up this library.     #
@@ -136,7 +141,7 @@
 strmatch.o: $(BUILD_DIR)/config.h
 strmatch.o: $(BASHINCDIR)/stdc.h
 
-glob.o: $(BUILD_DIR)/config.h
+glob.o: $(BUILD_DIR)/config.h $(topdir)/shell.h $(BUILD_DIR)/pathnames.h
 glob.o: $(topdir)/bashtypes.h $(BASHINCDIR)/ansi_stdlib.h $(topdir)/bashansi.h
 glob.o: $(BASHINCDIR)/posixstat.h $(BASHINCDIR)/memalloc.h
 glob.o: strmatch.h glob.h

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to