From c364c3869e7efc581e060af6ce933d7cfcf5495e Mon Sep 17 00:00:00 2001 From: ElonH Date: Fri, 3 Apr 2020 23:17:46 +0800 Subject: [PATCH] wxbase: redirect to staging_dir in wx-config --- package/lean/wxbase/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/lean/wxbase/Makefile b/package/lean/wxbase/Makefile index 97f6e70150..f587ebaef6 100644 --- a/package/lean/wxbase/Makefile +++ b/package/lean/wxbase/Makefile @@ -124,8 +124,7 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/include/wx-2.8 $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libwx_base$(LIB_PFX){,_net,_xml}-*.so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/wx $(1)/usr/lib/ - $(SED) 's,-I$$$${includedir}/wx-2.8,-I$(STAGING_DIR)/usr/include/wx-2.8,g' $(1)/usr/bin/wx-config - $(SED) 's,-I$$$${libdir}/wx/include,-I$(STAGING_DIR)/usr/lib/wx/include,g' $(1)/usr/bin/wx-config + $(SED) "s,$(PKG_BUILD_DIR),$(STAGING_DIR)/usr,g" $(1)/usr/bin/wx-config endef define Package/libwxbase/install