opnsense-ports/devel/simavr/files/patch-examples_Makefile.opengl

14 lines
435 B
Plaintext

--- examples/Makefile.opengl.orig 2016-01-19 09:41:55 UTC
+++ examples/Makefile.opengl
@@ -11,8 +11,8 @@ else
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