From: Eric Andersen Date: Wed, 10 Jan 2007 06:55:27 +0000 (-0000) Subject: link $(STAGING_DIR)/usr/lib to $(STAGING_DIR)/lib X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3da708e479442124aceae2f48dbdc8375ac4e9a2;p=buildroot.git 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 --- 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):