From 2bb4de2058f189285297bc7dfb4fdf430162fe64 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 11 Mar 2009 15:43:43 +0000 Subject: gmpc: fix build without libSM --- package/gmpc/gmpc.mk | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3