diff options
| author | Christoph Lohmann <20h@r-36.net> | 2013-01-04 20:52:22 +0100 |
|---|---|---|
| committer | Christoph Lohmann <20h@r-36.net> | 2013-01-04 20:52:22 +0100 |
| commit | 4682cc9596a5c82325882bdf1313728de95467d2 (patch) | |
| tree | 63db9e358fc61f363db422abbf714dad9ac359af | |
| parent | 4e14a4a97f7f7ef134fdc25d2fa34c8db7bb6e6c (diff) | |
| download | st-4682cc9596a5c82325882bdf1313728de95467d2.tar.gz st-4682cc9596a5c82325882bdf1313728de95467d2.zip | |
Making the fontconfig and freetype paths portable in config.mk.
| -rw-r--r-- | config.mk | 8 |
1 files changed, 6 insertions, 2 deletions
| @@ -11,8 +11,12 @@ X11INC = /usr/X11R6/include | |||
| 11 | X11LIB = /usr/X11R6/lib | 11 | X11LIB = /usr/X11R6/lib |
| 12 | 12 | ||
| 13 | # includes and libs | 13 | # includes and libs |
| 14 | INCS = -I. -I/usr/include -I${X11INC} -I/usr/include/freetype2 | 14 | INCS = -I. -I/usr/include -I${X11INC} \ |
| 15 | LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft -lfontconfig | 15 | $(shell pkg-config --cflags fontconfig) \ |
| 16 | $(shell pkg-config --cflags freetype2) | ||
| 17 | LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \ | ||
| 18 | $(shell pkg-config --libs fontconfig) \ | ||
| 19 | $(shell pkg-config --libs freetype2) | ||
| 16 | 20 | ||
| 17 | # flags | 21 | # flags |
| 18 | CPPFLAGS = -DVERSION=\"${VERSION}\" | 22 | CPPFLAGS = -DVERSION=\"${VERSION}\" |
