summaryrefslogtreecommitdiff
path: root/shells/bash/files/patch-Makefile.in
blob: 2eae4f4c910f9563d99ff856ef83fca594f71634 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- Makefile.in.orig	2020-12-04 14:51:19 UTC
+++ Makefile.in
@@ -584,6 +584,8 @@ $(Program):  .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDE
 	ls -l $(Program)
 	-$(SIZE) $(Program)
 
+$(CSOURCES): $(DEFDIR)/builtext.h
+
 .build:	$(SOURCES) config.h Makefile version.h $(VERSPROG)
 	@echo
 	@echo "	  ***********************************************************"
@@ -831,7 +833,9 @@ install:	.made installdirs
 		infodir=$(infodir) htmldir=$(htmldir) DESTDIR=$(DESTDIR) $@ )
 	-( cd $(DEFDIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
 	-( cd $(PO_DIR) ; $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
+.if !$(STATIC_LD:M-static)
 	-( cd $(LOADABLES_DIR) && $(MAKE) $(MFLAGS) DESTDIR=$(DESTDIR) $@ )
+.endif
 
 install-strip:
 	$(MAKE) $(MFLAGS) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' \