Source: sqlite3-pcre Version: 0~git20070120091816+4229ecc-1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
sqlite3-pcre fails to cross build from source, because its Makefile hard codes the build architecture pkg-config. After making it substitutable, sqlite3-pcre cross builds successfully. Please consider applying the attached patch. Helmut
--- sqlite3-pcre-0~git20070120091816+4229ecc.orig/Makefile +++ sqlite3-pcre-0~git20070120091816+4229ecc/Makefile @@ -1,8 +1,9 @@ CC=cc INSTALL=install +PKG_CONFIG?=pkg-config CFLAGS?= -CFLAGS+=$(shell pkg-config --cflags sqlite3 libpcre) -fPIC -LIBS=$(shell pkg-config --libs libpcre) +CFLAGS+=$(shell $(PKG_CONFIG) --cflags sqlite3 libpcre) -fPIC +LIBS=$(shell $(PKG_CONFIG) --libs libpcre) prefix=/usr .PHONY : install clean