]> git.sesse.net Git - mlt/commitdiff
Add a little hack for linking against Movit with epoxy.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 3 Apr 2014 20:14:04 +0000 (22:14 +0200)
committerDan Dennedy <dan@dennedy.org>
Fri, 4 Apr 2014 02:32:35 +0000 (19:32 -0700)
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

index c407464851a66d2f3124dc20f43738eb4546ff17..7a55c6cb3ecf97023c75ec789210682488bc5b52 100644 (file)
@@ -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