Files
bsdports/emu/simavr/files/patch-x-examples-Makefile.opengl
2019-12-26 07:26:06 +00:00

14 lines
482 B
Plaintext

--- ./examples/Makefile.opengl.orig 2016-01-19 11:41:55.000000000 +0200
+++ ./examples/Makefile.opengl 2018-01-02 17:40:48.240090000 +0200
@@ -11,8 +11,8 @@
ifeq (${shell uname -o}, Msys)
LDFLAGS += -mwindows -lopengl32 -lfreeglut
else
-CPPFLAGS += ${shell pkg-config --cflags glu glut} -DFREEBSD=1
-LDFLAGS += ${shell pkg-config --libs glu glut}
+CPPFLAGS += ${shell pkg-config --cflags glu} -DFREEBSD=1
+LDFLAGS += ${shell pkg-config --libs glu} -lglut
endif
endif
endif