diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Makefile b/Makefile index 9f707f8d88..eba8cad1dd 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ install-others = $(inst_includedir)/gnu/stubs.h install-bin-script = glibcbug ifeq (yes,$(build-shared)) -install-others += $(inst_includedir)/gnu/lib-names.h +headers += gnu/lib-names.h endif include Makerules @@ -90,6 +90,9 @@ endif # Install from subdirectories too. install: subdir_install +# Explicit dependency so that `make install-headers' works +install-headers: install-headers-nosubdir + # Make sure that the dynamic linker is installed before libc. $(inst_slibdir)/libc-$(version).so: elf/ldso_install @@ -155,12 +158,6 @@ $(inst_includedir)/gnu/stubs.h: subdir_install else $(INSTALL_DATA) $(objpfx)stubs.h $@; fi rm -f $(objpfx)stubs.h -ifeq (yes,$(build-shared)) - -$(inst_includedir)/gnu/lib-names.h: $(common-objpfx)gnu/lib-names.h $(+force) - $(do-install) -endif - # The `glibcbug' script contains the version number and it shall be rebuild # whenever this changes or the `glibcbug.in' file. $(objpfx)glibcbug: $(common-objpfx)config.status glibcbug.in |