gvfs: explicitly specify samba include and library paths
authorSven Neumann <s.neumann@raumfeld.com>
Sun, 18 Oct 2009 21:56:22 +0000 (23:56 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 20 Oct 2009 20:42:44 +0000 (22:42 +0200)
The gvfs configure script has --with-samba-includes and
--with-samba-libs options. Use these to point it to the
libsmbclient files in the staging dir.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gvfs/gvfs.mk

index 94a5eb76b70860da2d50b0638f7d502de7c6ebf3..7d71f34a169b43a580f05ee8e38507231f02e77f 100644 (file)
@@ -63,6 +63,8 @@ ifeq ($(BR2_PACKAGE_SAMBA_LIBSMBCLIENT),y)
 GVFS_DEPENDENCIES += samba
 GVFS_CONF_OPT += \
        --enable-samba \
+       --with-samba-includes=$(STAGING_DIR)/usr/include \
+       --with-samba-libs=$(STAGING_DIR)/usr/lib \
        ac_cv_lib_smbclient_smbc_option_get=yes
 else
 GVFS_CONF_OPT += --disable-samba