pkg-autotools: search in the source directory for ltmain.sh
PATCH 1/1 pkg-autotools: search in the source directory for ltmain.sh
Fixes static linking of berkeleydb package, where ltmain.sh is not in the sub-directory that contains configure. Always search the complete source directory.
Fixes:
http://autobuild.buildroot.net/results/f0a96f671644d9f9efcf245b354affdc84f7d7da
---
Solution found after discussion and suggestions with Arnout and Thomas P.
thx
--- package/pkg-autotools.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/pkg-autotools.mk +1 -1
@@ -59,7 +59,7 @@ endef # define LIBTOOL_PATCH_HOOK @$(call MESSAGE,"Patching libtool") - $(Q)for i in `find $($(PKG)_SRCDIR) -name ltmain.sh`; do \ + $(Q)for i in `find $($(PKG)_DIR) -name ltmain.sh`; do \ ltmain_version=`sed -n '/^[ \t]*VERSION=/{s/^[ \t]*VERSION=//;p;q;}' $$i | \ sed -e 's/\([0-9]*\.[0-9]*\).*/\1/' -e 's/\"//'`; \ ltmain_patchlevel=`sed -n '/^[ \t]*VERSION=/{s/^[ \t]*VERSION=//;p;q;}' $$i | \
Signature · 1 line
2.1.4
PATCH 1/1 pkg-autotools: search in the source directory for ltmain.sh
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Waldemar" == Waldemar Brodkorb <[email protected]> writes:
Fixes static linking of berkeleydb package, where
ltmain.shis not in the sub-directory that contains configure. Always search the complete source directory.
Quoted 8 lines
Fixes:
http://autobuild.buildroot.net/results/f0a96f671644d9f9efcf245b354affdc84f7d7daSigned-off-by Waldemar Brodkorb <[email protected]>---
Solution found after discussion and suggestions with Arnout and Thomas P.
thx
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard