瀏覽代碼

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 年之前
父節點
當前提交
4b2ebdb6d9
共有 1 個文件被更改,包括 1 次插入0 次删除
  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