mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-22 05:45: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)
|
NAME = $(GLEW_NAME)
|
||||||
CC = cc
|
CC = cc
|
||||||
LD = ld
|
LD = ld
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
LDFLAGS.EXTRA = -L/usr/local/lib
|
||||||
LDFLAGS.GL = -lGL -lX11
|
LDFLAGS.GL = -lGL -lX11
|
||||||
LDFLAGS.STATIC = -Wl,-Bstatic
|
LDFLAGS.STATIC = -Wl,-Bstatic
|
||||||
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
LDFLAGS.DYNAMIC = -Wl,-Bdynamic
|
||||||
CFLAGS.EXTRA += -I/usr/X11R6/include -fPIC
|
CFLAGS.EXTRA += -I/usr/local/include -fPIC
|
||||||
NAME = GLEW
|
NAME = GLEW
|
||||||
WARN = -Wall -W
|
WARN = -Wall -W
|
||||||
POPT = -O2
|
POPT = -O2
|
||||||
|
Loading…
Reference in New Issue
Block a user