Commit 2bb4de20 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

gmpc: fix build without libSM

parent cfca28f0
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -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))