summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain R. Learmonth <irl@debian.org>2015-10-18 20:06:46 +0100
committerIain R. Learmonth <irl@debian.org>2015-10-18 20:06:46 +0100
commit3d64a3f250ee61ea03595f84a009da8c82ed7c1d (patch)
tree92ec24ef48f6d57fecc4e313ac75be19102ea507
parent3739ae1e097c3a31a860aa0a8ad176b180fe09ac (diff)
Get Qt include path from pkg-config
-rw-r--r--debian/patches/0004-inherit-cflags-fflags.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/patches/0004-inherit-cflags-fflags.patch b/debian/patches/0004-inherit-cflags-fflags.patch
index 4b4ad220..47514558 100644
--- a/debian/patches/0004-inherit-cflags-fflags.patch
+++ b/debian/patches/0004-inherit-cflags-fflags.patch
@@ -4,6 +4,15 @@ Last-Update: 2015-10-18
--- a/lib/Makefile.linux
+++ b/lib/Makefile.linux
+@@ -1,7 +1,7 @@
+ # Set paths
+ EXE_DIR = ../wsjtx_install
+ QT_DIR = /usr/include/qt5
+-INCPATH = -I${QT_DIR} -I${QT_DIR}/QtCore
++INCPATH = `pkg-config --cflags Qt5Core`
+
+ CC = gcc
+ CXX = g++
@@ -12,8 +12,8 @@
RANLIB = ranlib
RM = rm -f