summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-21 12:21:39 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-02-23 19:34:33 (GMT)
commit1844bd894194d44472d7e1f41e3e0f52a6359117 (patch)
tree010ef93963dbf0e7ea2f4363a18becf6e1a04587
parent3502bb056f0de1e4eecd7b0de6156daf18a2162c (diff)
downloadbuildroot-1844bd894194d44472d7e1f41e3e0f52a6359117.tar.gz
buildroot-1844bd894194d44472d7e1f41e3e0f52a6359117.tar.bz2
gob2: update dependency on flex
gob2 for the target needs both flex on the host (for running the flex program at compile time) and flex on the target (so that it can link against libfl.a). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gob2/Config.in1
-rw-r--r--package/gob2/gob2.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/gob2/Config.in b/package/gob2/Config.in
index 314a1da..2545baf 100644
--- a/package/gob2/Config.in
+++ b/package/gob2/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_GOB2
bool "gob2"
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_FLEX
+ select BR2_PACKAGE_FLEX_LIBFL
select BR2_PACKAGE_BISON
help
GOB (GTK+ Object Builder) is a preprocessor which simplifies
diff --git a/package/gob2/gob2.mk b/package/gob2/gob2.mk
index cdf7961..5d50ed6 100644
--- a/package/gob2/gob2.mk
+++ b/package/gob2/gob2.mk
@@ -7,7 +7,7 @@ GOB2_VERSION = 2.0.15
GOB2_SOURCE = gob2-$(GOB2_VERSION).tar.gz
GOB2_SITE = http://ftp.5z.com/pub/gob/
-GOB2_DEPENDENCIES = libglib2 flex bison host-pkg-config
+GOB2_DEPENDENCIES = libglib2 flex bison host-pkg-config host-flex
HOST_GOB2_DEPENDENCIES = host-libglib2