~petersanchez/st

4682cc9596a5c82325882bdf1313728de95467d2 — Christoph Lohmann 11 years ago 4e14a4a
Making the fontconfig and freetype paths portable in config.mk.
1 files changed, 6 insertions(+), 2 deletions(-)

M config.mk
M config.mk => config.mk +6 -2
@@ 11,8 11,12 @@ X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib

# includes and libs
INCS = -I. -I/usr/include -I${X11INC} -I/usr/include/freetype2
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft -lfontconfig
INCS = -I. -I/usr/include -I${X11INC} \
       $(shell pkg-config --cflags fontconfig) \
       $(shell pkg-config --cflags freetype2)
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
       $(shell pkg-config --libs fontconfig)  \
       $(shell pkg-config --libs freetype2)

# flags
CPPFLAGS = -DVERSION=\"${VERSION}\"