Package: sqlite3 Version: 3.7.7-2 Severity: normal Tags: patch User: crossbu...@debian.org Usertags: cross
The cross-building support in sqlite3 is really close to working, but fails because the 'lemon' binary wants to be installed but is never built if cross-compiling (only 'lemon-for-build'). This patch takes the easy way out and forces it in debian/rules; I've confirmed that this now cross-builds cleanly. (I haven't made absolutely sure of this, but from a quick inspection of the diff I think 3.7.8-1 has the same problem.) * Make sure to build lemon when cross-compiling. diff -Nru sqlite3-3.7.7/debian/rules sqlite3-3.7.7/debian/rules --- sqlite3-3.7.7/debian/rules 2011-07-26 10:48:46.000000000 +0100 +++ sqlite3-3.7.7/debian/rules 2011-09-27 00:01:19.000000000 +0100 @@ -51,6 +51,9 @@ build-stamp: configure dh_testdir $(MAKE) +ifneq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + $(MAKE) lemon +endif touch $@ Thanks, -- Colin Watson [cjwat...@ubuntu.com] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org