Browse Source

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" 18 năm trước cách đây
mục cha
commit
4b2ebdb6d9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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