Pārlūkot izejas kodu

Allow compiling on OpenBSD

Thanks rain1 for the suggestion for this patch. Unfortunately, it came bundled
with other changes which couldn't be accepted, so here is the import-able part.
Léo Gaspard 8 gadi atpakaļ
vecāks
revīzija
d7015d2157
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      config.mk

+ 3 - 2
config.mk

@@ -5,9 +5,10 @@ WARN_CFLAGS = -Wall -Wextra -pedantic -D_XOPEN_SOURCE=700
 DBG_CFLAGS  = -g
 DBG_LDFLAGS = -g
 
-FT_CFLAGS  = $(shell freetype-config --cflags)
-FT_LDFLAGS = $(shell freetype-config --libs)
+FT_CFLAGS  = `freetype-config --cflags`
+FT_LDFLAGS = `freetype-config --libs`
 
+XLIB_CFLAGS  = -I/usr/X11R6/include/
 XLIB_LDFLAGS = -lX11 -lXrender
 
 CFLAGS  += -std=c99 ${XLIB_CFLAGS} ${FT_CFLAGS} ${WARN_CFLAGS} ${DBG_CFLAGS}