Helmut,

Would the attached simpler patch also be likely to work?

The difference between suggested patches was pointed out in a merge
request for a different project with the same upstream maintainer:
https://github.com/sailfishos/buteo-sync-plugin-carddav/pull/10

Thank you,
Jeremy Bícha
From b2d6e6cbad2fc3c54a6a5c9104b5dd5a4bab1a1f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jeremy=20B=C3=ADcha?= <[email protected]>
Date: Sun, 22 Mar 2026 20:24:34 -0400
Subject: [PATCH] Fix Debian cross-building issue

https://bugs.debian.org/1126661
---
 lib/lib.pri | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/lib.pri b/lib/lib.pri
index 37d57d0..405971c 100644
--- a/lib/lib.pri
+++ b/lib/lib.pri
@@ -31,7 +31,7 @@ LIBS += -lphonenumber
 QT += contacts-private
 
 # We need the moc output for ContactManagerEngine 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 += \
     contactmanagerengine.h \
-- 
2.53.0

Reply via email to