summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))