From 54168b279313b35ca85ae9410a75995658f70c0f Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 3 Apr 2014 22:14:04 +0200 Subject: [PATCH] Add a little hack for linking against Movit with epoxy. After an earlier patch of mine, MLT now gets its GL headers by piggy-backing on Movit. That means it needs to load Movit's private libraries, too. --- src/modules/opengl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/opengl/Makefile b/src/modules/opengl/Makefile index c4074648..7a55c6cb 100644 --- a/src/modules/opengl/Makefile +++ b/src/modules/opengl/Makefile @@ -41,7 +41,7 @@ ifeq ($(targetos), MinGW) CXXFLAGS += $(shell pkg-config --cflags glew) LDFLAGS += -lmovit $(shell pkg-config --libs-only-L glew) -lglew32 -lopengl32 -lpthread else - LDFLAGS += $(shell pkg-config --libs movit 2> /dev/null) + LDFLAGS += $(shell pkg-config --static --libs movit 2> /dev/null) ifeq ($(targetos), Darwin) CXXFLAGS += -FOpenGL LDFLAGS += -lpthread -framework OpenGL -- 2.39.2