dbus: for some reason on our mips toolchain -Wl,--gc-sections does not work, but...
[packages.git] / utils / dbus / Makefile
index 95f978c..cbf502e 100644 (file)
@@ -74,6 +74,11 @@ $(call Package/dbus/Default/description)
 endef
 
 
+define Build/Prepare
+       $(Build/Prepare/Default)
+       $(SED) 's/-Wl,--gc-sections/--gc-sections/' $(PKG_BUILD_DIR)/configure
+endef
+
 CONFIGURE_ARGS += \
        --enable-shared \
        --enable-static \