aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-04-22 07:57:07 +0000
committerterminaldweller <thabogre@gmail.com>2022-04-22 07:57:07 +0000
commit56fea8379e38e010ca082a8d29e6de4be2697501 (patch)
tree49b7202142d4747569a39d8af02f79b84cdcb795 /config.mk
parentremove center patch, it doesnt have a switch (diff)
downloaddmenu-56fea8379e38e010ca082a8d29e6de4be2697501.tar.gz
dmenu-56fea8379e38e010ca082a8d29e6de4be2697501.zip
added the bidi patch
Diffstat (limited to '')
-rw-r--r--config.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 3423b6a..6d20978 100644
--- a/config.mk
+++ b/config.mk
@@ -8,6 +8,8 @@ MANPREFIX = $(PREFIX)/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
+BDINC = /usr/include/fribidi
+
# Xinerama, comment if you don't want it
XINERAMALIBS = -lXinerama
XINERAMAFLAGS = -DXINERAMA
@@ -18,9 +20,11 @@ FREETYPEINC = /usr/include/freetype2
# OpenBSD (uncomment)
#FREETYPEINC = $(X11INC)/freetype2
+BDLIBS = -lfribidi
+
# includes and libs
-INCS = -I$(X11INC) -I$(FREETYPEINC)
-LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) -lm
+INCS = -I$(X11INC) -I$(FREETYPEINC) -I$(BDINC)
+LIBS = -L$(X11LIB) -lX11 $(XINERAMALIBS) $(FREETYPELIBS) $(BDLIBS) -lm
# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"$(VERSION)\" $(XINERAMAFLAGS)