fso-gsm0710muxd: Fix dbus-binding-tool invokation on some systems
authorMichael Büsch <mb@bu3sch.de>
Thu, 4 Nov 2010 19:04:08 +0000 (19:04 +0000)
committerMichael Büsch <mb@bu3sch.de>
Thu, 4 Nov 2010 19:04:08 +0000 (19:04 +0000)
SVN-Revision: 23880

phone/fso-gsm0710muxd/Makefile

index 1d6df2fa8856dc797a9de00d031d50034b6fe888..933d44784af593a008b10c57f5d979e927ed6e17 100644 (file)
@@ -46,7 +46,9 @@ define Build/Configure
 endef
 
 define Build/Compile
-       DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) install
+       DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \
+               DBUS_BINDING_TOOL="LD_LIBRARY_PATH=/usr/lib:/usr/local/lib $(shell which dbus-binding-tool)" \
+               install
        rm -f $(STAGING_DIR_HOST)/usr/bin/dbus-binding-tool
 endef