]> git.sesse.net Git - mlt/blobdiff - src/modules/opengl/Makefile
Add a little hack for linking against Movit with epoxy.
[mlt] / 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