mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-22 06:35:07 +00:00
FreeBSD build fixup to use X11 from /usr/local
This commit is contained in:
parent
fbcb13d274
commit
899d47a2f3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user