aboutsummaryrefslogtreecommitdiffstats
path: root/package/games/gnuchess/gnuchess.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/games/gnuchess/gnuchess.mk')
-rw-r--r--package/games/gnuchess/gnuchess.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/games/gnuchess/gnuchess.mk b/package/games/gnuchess/gnuchess.mk
index d5a8dd65a..8e331a469 100644
--- a/package/games/gnuchess/gnuchess.mk
+++ b/package/games/gnuchess/gnuchess.mk
@@ -7,5 +7,7 @@ GNUCHESS_VERSION = 5.07
GNUCHESS_SOURCE = gnuchess-$(GNUCHESS_VERSION).tar.gz
GNUCHESS_SITE = $(BR2_GNU_MIRROR)/chess
+GNUCHESS_DEPENDENCIES = $(if $(BR2_PACKAGE_READLINE),readline)
+
$(eval $(call AUTOTARGETS,package/games,gnuchess))