summaryrefslogtreecommitdiff
path: root/package/gmpc/gmpc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/gmpc/gmpc.mk')
-rw-r--r--package/gmpc/gmpc.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/package/gmpc/gmpc.mk b/package/gmpc/gmpc.mk
index 52cb3d685..3bb168f9b 100644
--- a/package/gmpc/gmpc.mk
+++ b/package/gmpc/gmpc.mk
@@ -10,8 +10,13 @@ GMPC_LIBTOOL_PATCH = NO
GMPC_CONF_ENV = ac_cv_lib_curl_curl_global_init=yes
GMPC_CONF_OPT = --disable-mmkeys
-
GMPC_DEPENDENCIES = libglib2 libgtk2 libglade libcurl libmpd
+ifeq ($(BR2_PACKAGE_XLIB_LIBSM),y)
+GMPC_DEPENENCIES += xlib_libSM
+GMPC_CONF_OPT += --enable-sm
+else
+GMPC_CONF_OPT += --disable-sm
+endif
$(eval $(call AUTOTARGETS,package,gmpc))