FreeBSD build fixup to use X11 from /usr/local

This commit is contained in:
Nigel Stewart 2019-01-29 22:06:17 +10:00 committed by Nigel Stewart
parent fbcb13d274
commit 899d47a2f3

View File

@ -1,11 +1,13 @@
# As of FreeBSD12 X11 is in /usr/local
NAME = $(GLEW_NAME)
CC = cc
LD = ld
LDFLAGS.EXTRA = -L/usr/X11R6/lib
LDFLAGS.EXTRA = -L/usr/local/lib
LDFLAGS.GL = -lGL -lX11
LDFLAGS.STATIC = -Wl,-Bstatic
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
CFLAGS.EXTRA += -I/usr/X11R6/include -fPIC
CFLAGS.EXTRA += -I/usr/local/include -fPIC
NAME = GLEW
WARN = -Wall -W
POPT = -O2