summaryrefslogtreecommitdiff
path: root/package/synergy/synergy.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-06-10 23:46:36 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-11 00:02:20 +0200
commite12d78e2bc2d0e36dbdf1ced099ae924f7a82ca2 (patch)
tree749693e3e80b6a74551f5bff60d31d637f1da8ee /package/synergy/synergy.mk
parent036377c954e68eb76e31f787074c6ab8c4fd9817 (diff)
synergy: fix dependencies
Synergy can be used without a local X server, and Xinerama is an optional dependency. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/synergy/synergy.mk')
-rw-r--r--package/synergy/synergy.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/synergy/synergy.mk b/package/synergy/synergy.mk
index 5a09359f8..c86fb8b62 100644
--- a/package/synergy/synergy.mk
+++ b/package/synergy/synergy.mk
@@ -10,6 +10,7 @@ SYNERGY_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/s
SYNERGY_CONF_OPT = --x-includes=$(STAGING_DIR)/usr/include/X11 \
--x-libraries=$(STAGING_DIR)/usr/lib
-SYNERGY_DEPENDENCIES = xserver_xorg-server xlib_libXtst
+SYNERGY_DEPENDENCIES = xlib_libXtst \
+ $(if $(BR2_PACKAGE_XLIB_LIBXINERAMA),xlib_libXinerama)
$(eval $(call AUTOTARGETS))