diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2019-09-27 15:25:45 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-30 16:55:21 +0100 |
commit | 7d751fc737ab678d4f5b1a85b86b6d40e98822f1 (patch) | |
tree | 173086574dd69d454e656a2ffcc5b95a01d8596f /meta/recipes-support/apr/apr_1.7.0.bb | |
parent | ec1104fd7fc0311e918fa832a566d3c8aedc2f11 (diff) | |
download | poky-7d751fc737ab678d4f5b1a85b86b6d40e98822f1.tar.gz |
apr: Check for libtoolize rather than libtool
Backport a patch from debian to make it check libtoolize rather than libtool.
https://sources.debian.org/data/main/a/apr/1.6.5-1/debian/patches/libtoolize_check.patch
This can also fix:
$ bitbake nativesdk-apr
buildconf: libtool not found.
You need libtool version 1.4 or newer installed
(From OE-Core rev: 1a1b9e3ff33dea964bdf79bc47b5c7801e4df5a5)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/apr/apr_1.7.0.bb')
-rw-r--r-- | meta/recipes-support/apr/apr_1.7.0.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-support/apr/apr_1.7.0.bb b/meta/recipes-support/apr/apr_1.7.0.bb index 09a65bfdd6..eca9cdea48 100644 --- a/meta/recipes-support/apr/apr_1.7.0.bb +++ b/meta/recipes-support/apr/apr_1.7.0.bb | |||
@@ -11,13 +11,13 @@ BBCLASSEXTEND = "native nativesdk" | |||
11 | 11 | ||
12 | SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ | 12 | SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ |
13 | file://run-ptest \ | 13 | file://run-ptest \ |
14 | file://0001-build-buildcheck.sh-improve-libtool-detection.patch \ | ||
15 | file://0002-apr-Remove-workdir-path-references-from-installed-ap.patch \ | 14 | file://0002-apr-Remove-workdir-path-references-from-installed-ap.patch \ |
16 | file://0003-Makefile.in-configure.in-support-cross-compiling.patch \ | 15 | file://0003-Makefile.in-configure.in-support-cross-compiling.patch \ |
17 | file://0004-Fix-packet-discards-HTTP-redirect.patch \ | 16 | file://0004-Fix-packet-discards-HTTP-redirect.patch \ |
18 | file://0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch \ | 17 | file://0005-configure.in-fix-LTFLAGS-to-make-it-work-with-ccache.patch \ |
19 | file://0006-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch \ | 18 | file://0006-apr-fix-off_t-size-doesn-t-match-in-glibc-when-cross.patch \ |
20 | file://0007-explicitly-link-libapr-against-phtread-to-make-gold-.patch \ | 19 | file://0007-explicitly-link-libapr-against-phtread-to-make-gold-.patch \ |
20 | file://libtoolize_check.patch \ | ||
21 | " | 21 | " |
22 | 22 | ||
23 | SRC_URI[md5sum] = "7a14a83d664e87599ea25ff4432e48a7" | 23 | SRC_URI[md5sum] = "7a14a83d664e87599ea25ff4432e48a7" |
@@ -47,7 +47,8 @@ do_configure_prepend() { | |||
47 | export GREP="grep" | 47 | export GREP="grep" |
48 | 48 | ||
49 | cd ${S} | 49 | cd ${S} |
50 | libtool='${HOST_SYS}-libtool' ./buildconf | 50 | # The "2" means libtool version 2. |
51 | ./buildconf 2 | ||
51 | } | 52 | } |
52 | 53 | ||
53 | FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*" | 54 | FILES_${PN}-dev += "${libdir}/apr.exp ${datadir}/build-1/*" |