summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/mplayer/mplayer.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index 2082f25190..cbbd1e7728 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -98,9 +98,11 @@ else
MPLAYER_CONF_OPTS += --disable-termcap
endif
-ifeq ($(BR2_PACKAGE_SAMBA_SMBCLIENT),y)
+# mplayer doesn't pick up libsmbclient cflags
+ifeq ($(BR2_PACKAGE_SAMBA4),y)
+MPLAYER_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags smbclient`
MPLAYER_CONF_OPTS += --enable-smb
-MPLAYER_DEPENDENCIES += samba
+MPLAYER_DEPENDENCIES += samba4
else
MPLAYER_CONF_OPTS += --disable-smb
endif
OpenPOWER on IntegriCloud