Explorar o código

Create symlink for 'usr/include' in the staging directory so that packages like zlib and others who expect that to exist will install properly.

"Steven J. Hill" %!s(int64=18) %!d(string=hai) anos
pai
achega
4b2ebdb6d9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Makefile

+ 1 - 0
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