diff options
Diffstat (limited to 'meta/recipes-devtools/swig/swig.inc')
-rw-r--r-- | meta/recipes-devtools/swig/swig.inc | 8 |
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 | ||
8 | SECTION = "devel" | 8 | SECTION = "devel" |
9 | 9 | ||
10 | DEPENDS = "libpcre" | 10 | DEPENDS = "libpcre bison-native" |
11 | 11 | ||
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" | 12 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" |
13 | 13 | ||
@@ -42,6 +42,12 @@ EXTRA_AUTORECONF += "-I Tools/config" | |||
42 | 42 | ||
43 | BBCLASSEXTEND = "native nativesdk" | 43 | BBCLASSEXTEND = "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 | ||
47 | do_configure_append() { | ||
48 | mkdir -p ${B}/Source/CParse | ||
49 | } | ||
50 | |||
45 | do_install_append_class-nativesdk() { | 51 | do_install_append_class-nativesdk() { |
46 | cd ${D}${bindir} | 52 | cd ${D}${bindir} |
47 | ln -s swig swig2.0 | 53 | ln -s swig swig2.0 |