diff --git a/package/lean/wxbase/Makefile b/package/lean/wxbase/Makefile index 376b5dc97c..c346358633 100644 --- a/package/lean/wxbase/Makefile +++ b/package/lean/wxbase/Makefile @@ -100,12 +100,14 @@ CONFIGURE_ARGS+= \ --without-libiconv-prefix \ --without-sdl-prefix \ --without-cppunit-prefix \ - --disable-precomp-headers + --disable-precomp-headers define Build/InstallDev $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/wx-config $(1)/usr/bin/ $(SED) "s,$(PKG_BUILD_DIR),$(STAGING_DIR)/usr,g" $(1)/usr/bin/wx-config + $(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 $(INSTALL_DIR) $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/wx-2.8 $(1)/usr/include/