gvfs: switch smb support to samba4
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 6 Mar 2015 12:50:32 +0000 (09:50 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Apr 2015 12:31:29 +0000 (14:31 +0200)
samba3 is deprecated upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gvfs/gvfs.mk

index d3f5a4f5cbaf27c2618622733f586dbf75899f64..4242e801bf9b3820ffb88ba29bd9ba5022c5234a 100644 (file)
@@ -58,11 +58,11 @@ else
 GVFS_CONF_OPTS += --disable-http
 endif
 
-ifeq ($(BR2_PACKAGE_SAMBA_LIBSMBCLIENT),y)
-GVFS_DEPENDENCIES += samba
+ifeq ($(BR2_PACKAGE_SAMBA4),y)
+GVFS_DEPENDENCIES += samba4
 GVFS_CONF_OPTS += \
        --enable-samba \
-       --with-samba-includes=$(STAGING_DIR)/usr/include \
+       --with-samba-includes=$(STAGING_DIR)/usr/include/samba-4.0 \
        --with-samba-libs=$(STAGING_DIR)/usr/lib \
        ac_cv_lib_smbclient_smbc_option_get=yes
 else