shithub: cstory

Download patch

ref: 940034dc22971b5f6cd76e63aa332c9ce2629aa1
parent: eaae225c70dc111c59a621a97b90f7758b058876
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Aug 20 08:43:48 EDT 2019

Define GLEW_STATIC when creating a static build

--- a/Makefile
+++ b/Makefile
@@ -213,6 +213,7 @@
 	CXXFLAGS += `pkg-config glew --cflags`
 
 	ifeq ($(STATIC), 1)
+		CXXFLAGS += -DGLEW_STATIC
 		LIBS += `pkg-config glew --libs --static`
 	else
 		LIBS += `pkg-config glew --libs`