summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
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