From: Steinar H. Gunderson Date: Thu, 3 Apr 2014 20:14:04 +0000 (+0200) Subject: Add a little hack for linking against Movit with epoxy. X-Git-Url: https://git.sesse.net/?p=mlt;a=commitdiff_plain;h=54168b279313b35ca85ae9410a75995658f70c0f 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. --- 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