summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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