summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/swig/swig.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/swig/swig.inc')
-rw-r--r--meta/recipes-devtools/swig/swig.inc8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/swig/swig.inc b/meta/recipes-devtools/swig/swig.inc
index f7de40866a..00b9c5b605 100644
--- a/meta/recipes-devtools/swig/swig.inc
+++ b/meta/recipes-devtools/swig/swig.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e7807a6282784a7dde4c846626b08fc6 \
7 7
8SECTION = "devel" 8SECTION = "devel"
9 9
10DEPENDS = "libpcre" 10DEPENDS = "libpcre bison-native"
11 11
12SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" 12SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz"
13 13
@@ -42,6 +42,12 @@ EXTRA_AUTORECONF += "-I Tools/config"
42 42
43BBCLASSEXTEND = "native nativesdk" 43BBCLASSEXTEND = "native nativesdk"
44 44
45# necessary together with bison dependency until a new upstream version after
46# 3.0.12 includes 0001-Fix-generated-code-for-constant-expressions-containi.patch
47do_configure_append() {
48 mkdir -p ${B}/Source/CParse
49}
50
45do_install_append_class-nativesdk() { 51do_install_append_class-nativesdk() {
46 cd ${D}${bindir} 52 cd ${D}${bindir}
47 ln -s swig swig2.0 53 ln -s swig swig2.0