diff options
author | Lionel Landwerlin <lionel.landwerlin@openwide.fr> | 2009-10-04 20:41:55 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-05 14:11:49 +0200 |
commit | 34bba153aca96765aff0c6ff4c84352cb69b94b6 (patch) | |
tree | 9a4b43b9587f012f7944087e1f90f32c695e38cc /package | |
parent | 3ae324f856775c7b0e265c8c35baf6dff40f7a52 (diff) |
Prevent libtool patching before autoreconf when autoreconf is required
Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Tested-By: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/Makefile.autotools.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index c4c4b1ceb..d36c884f0 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -188,7 +188,8 @@ $(BUILD_DIR)/%/.stamp_extracted: $(BUILD_DIR)/%/.stamp_libtool_patch: $(call MESSAGE,"Patching libtool") # if the package uses libtool, patch it for cross-compiling in buildroot - $(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES"; then \ + $(Q)if test "$($(PKG)_LIBTOOL_PATCH)" = "YES" -a \ + "$($(PKG)_AUTORECONF)" != "YES"; then \ for i in `find $(@D) -name ltmain.sh`; do \ toolchain/patch-kernel.sh $${i%/*} package buildroot-libtool.patch; \ done \ |