Source: dtkgui
Version: 5.5.17.1-1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

dtkgui fails to cross build from source, because it hard codes the build
architecture pkg-config in tests/tests.pro. Please consider applying the
attached patch to use the detected pkg-config.

Helmut
--- dtkgui-5.5.17.1.orig/tests/tests.pro
+++ dtkgui-5.5.17.1/tests/tests.pro
@@ -37,7 +37,7 @@
 
 linux* {
     # don't link library
-    QMAKE_CXXFLAGS += $$system(pkg-config --cflags-only-I librsvg-2.0)
+    QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags-only-I librsvg-2.0)
 
     dbus_monitor.files += $$PWD/../src/dbus/com.deepin.api.XEventMonitor.xml
     dbus_monitor.header_flags += -i ../src/dbus/arealist.h

Reply via email to