Fix for the include/lib directories in the dbus build process. Remove
dbus-x11 from default configuration.

Signed-off-by: Robert Buranyi <[EMAIL PROTECTED]>

---

Index: packages/utils/dbus/Makefile
===================================================================
--- packages/utils/dbus/Makefile        (revision 11138)
+++ packages/utils/dbus/Makefile        (working copy)
@@ -78,7 +78,8 @@
        --with-dbus-daemondir="/usr/sbin" \
        --with-system-socket="/var/run/dbus/system_bus_socket" \
        --with-system-pid-file="/var/run/dbus.pid" \
-
+  --with-x=no \
+   
 #      --without-x \
 
 CONFIGURE_VARS+= \
@@ -88,6 +89,9 @@
 define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                DESTDIR="$(PKG_INSTALL_DIR)" \
+               CFLAGS="$(TARGET_CFLAGS)" \
+               CF="$(TARGET_CFLAGS) -O -I$(STAGING_DIR)/usr/include" \
+               LD="$(TARGET_CC) -L$(STAGING_DIR)/usr/lib" \
                all install
 endef

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to