From: "Steven J. Hill" Date: Sat, 28 Apr 2007 17:09:44 +0000 (-0000) Subject: Create symlink for 'usr/include' in the staging directory so that packages like zlib... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b2ebdb6d9572acf6bf7f926a6521c8d2fe9aea2;p=buildroot.git Create symlink for 'usr/include' in the staging directory so that packages like zlib and others who expect that to exist will install properly. --- diff --git a/Makefile b/Makefile index 5a30f26cdf..0f9776d905 100644 --- a/Makefile +++ b/Makefile @@ -107,6 +107,7 @@ $(STAGING_DIR): @mkdir -p $(STAGING_DIR)/include @mkdir -p $(STAGING_DIR)/usr @mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) + @ln -snf ../include $(STAGING_DIR)/usr/include @ln -snf ../lib $(STAGING_DIR)/usr/lib @ln -snf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib