From 3da708e479442124aceae2f48dbdc8375ac4e9a2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 10 Jan 2007 06:55:27 +0000 Subject: [PATCH] link $(STAGING_DIR)/usr/lib to $(STAGING_DIR)/lib to make glib2 (and packages with similar confusion) work properly, while still being able to cross compile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 6782a8228d..78f2f00718 100644 --- a/Makefile +++ b/Makefile @@ -101,7 +101,9 @@ $(TOOL_BUILD_DIR): $(STAGING_DIR): @mkdir -p $(STAGING_DIR)/lib @mkdir -p $(STAGING_DIR)/include + @mkdir -p $(STAGING_DIR)/usr @mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME) + @ln -snf ../lib $(STAGING_DIR)/usr/lib @ln -snf ../lib $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/lib $(TARGET_DIR): -- 2.30.2