summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2018-01-08 16:57:47 +0100
committerRoland Stigge <stigge@antcom.de>2018-01-08 16:57:47 +0100
commitd8eae5827b2599bb1fb125aed47d73bf82d1ff10 (patch)
tree97c835f8580e4eb102185b2a7cbbe9c2e559db5f /src/Makefile
parent34f772d353839b5febcc0cad2a54e29716dcb6c8 (diff)
Debian package, fix list xml
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index e960f67..d7f3847 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,6 @@
+ARCH=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
TARGET=query
-CPPFLAGS=-Wall -O2 -fPIC -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore
+CPPFLAGS=-Wall -O2 -fPIC -I/usr/include/$(ARCH)/qt5 -I/usr/include/$(ARCH)/qt5/QtCore
LDFLAGS=-Wall -O2 -fPIC -lstdc++ -lfcgi -lQt5Core
OBJS=webbox.o