From 95d8ac7e3d0a495bc3bbffa3ef2bb8333342c97f Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 27 Dec 2007 12:00:46 +0000 Subject: [PATCH] symlink glib-config instead of moving it SVN-Revision: 9957 --- libs/glib/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libs/glib/Makefile b/libs/glib/Makefile index 6d37b444c..ffe47b88e 100644 --- a/libs/glib/Makefile +++ b/libs/glib/Makefile @@ -61,15 +61,14 @@ define Build/Compile endef define Build/InstallDev - $(INSTALL_DIR) $(1) + $(INSTALL_DIR) $(1) $(2)/bin $(CP) $(PKG_INSTALL_DIR)/* $(1)/ $(CP) $(PKG_BUILD_DIR)/.libs/*.a $(PKG_BUILD_DIR)/*/.libs/*.a $(1)/usr/lib $(CP) $(PKG_BUILD_DIR)/glibconfig-sysdefs.h $(1)/usr/include/glib-1.2/ - $(INSTALL_DIR) $(2)/bin - mv $(1)/usr/bin/glib-config $(2)/bin/ - $(SED) 's,-I$$$${prefix}/include/glib,-I$(STAGING_DIR)/usr/include/glib,g' $(2)/bin/glib-config - $(SED) 's,-I$$$${exec_prefix}/lib/glib,-I$(STAGING_DIR)/usr/lib/glib,g' $(2)/bin/glib-config - $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(2)/bin/glib-config + ln -sf $(STAGING_DIR)/usr/bin/glib-config $(2)/bin/ + $(SED) 's,-I$$$${prefix}/include/glib,-I$(STAGING_DIR)/usr/include/glib,g' $(1)/usr/bin/glib-config + $(SED) 's,-I$$$${exec_prefix}/lib/glib,-I$(STAGING_DIR)/usr/lib/glib,g' $(1)/usr/bin/glib-config + $(SED) 's,-L$$$${exec_prefix}/lib,,g' $(1)/usr/bin/glib-config endef define Package/glib1/install -- 2.30.2