about summary refs log tree commit diff
path: root/config.mk
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2019-03-04 11:43:25 +0100
committerQuentin Rameau <quinq@fifth.space>2020-11-01 16:59:12 +0100
commit6850365d7c91e6cf873ac722c705c55905de143a (patch)
tree094058c2a7b631935cf530d2181c0ef14031fe78 /config.mk
parentRemove common (diff)
downloadsurf-6850365d7c91e6cf873ac722c705c55905de143a.tar.gz
surf-6850365d7c91e6cf873ac722c705c55905de143a.tar.bz2
surf-6850365d7c91e6cf873ac722c705c55905de143a.zip
Add support for configuring plugins directories
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 7450b5d..6941713 100644
--- a/config.mk
+++ b/config.mk
@@ -22,8 +22,9 @@ INCS = $(X11INC) $(GTKINC)
 LIBS = $(X11LIB) $(GTKLIB) -lgthread-2.0
 
 # flags
-CPPFLAGS = -DVERSION=\"$(VERSION)\" -DWEBEXTDIR=\"$(LIBDIR)\" \
-           -D_DEFAULT_SOURCE -DGCR_API_SUBJECT_TO_CHANGE
+CPPFLAGS = -DVERSION=\"$(VERSION)\" -DGCR_API_SUBJECT_TO_CHANGE \
+           -DLIBPREFIX=\"$(LIBPREFIX)\" -DWEBEXTDIR=\"$(LIBDIR)\" \
+           -D_DEFAULT_SOURCE
 SURFCFLAGS = -fPIC $(INCS) $(CPPFLAGS)
 WEBEXTCFLAGS = -fPIC $(WEBEXTINC)