Source: buteo-sync-plugin-carddav
Version: 0.1.12-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

buteo-sync-plugin-carddav fails to cross build from source. On the
surface, there is a linker error about undefined symbols. The root cause
for this is using the build architecture pkg-config. I'm attaching a
patch that makes it use the host's pkg-config via the common
$$PKG_CONFIG substitution. Please consider applying it and forwarding it
upstream.

Helmut
--- buteo-sync-plugin-carddav-0.1.12.orig/src/src.pri
+++ buteo-sync-plugin-carddav-0.1.12/src/src.pri
@@ -16,7 +16,7 @@
 }
 
 # We need the moc output for the headers from sqlite-extensions
-extensionsIncludePath = $$system(pkg-config --cflags-only-I qtcontacts-sqlite-qt$${QT_MAJOR_VERSION}-extensions)
+extensionsIncludePath = $$system($$PKG_CONFIG --cflags-only-I qtcontacts-sqlite-qt$${QT_MAJOR_VERSION}-extensions)
 VPATH += $$replace(extensionsIncludePath, -I, )
 HEADERS += qcontactclearchangeflagsrequest.h contactmanagerengine.h
 

Reply via email to