From 0d422babb828f64febdbcb91dedd9595db0dec92 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Mon, 27 Jan 2014 18:31:15 -0800 Subject: [PATCH] Fix Windows build against latest Movit. --- src/modules/opengl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/opengl/Makefile b/src/modules/opengl/Makefile index 2ee2cae3..2197b802 100644 --- a/src/modules/opengl/Makefile +++ b/src/modules/opengl/Makefile @@ -1,6 +1,6 @@ CFLAGS += -I../.. -LDFLAGS += -L../../framework -lmlt -lm -lpthread +LDFLAGS += -L../../framework -lmlt -lm include ../../../config.mak @@ -38,12 +38,12 @@ LDFLAGS += -L../../mlt++ -lmlt++ ifeq ($(targetos), MinGW) CXXFLAGS += $(shell pkg-config --cflags glew) - LDFLAGS += -lmovit $(shell pkg-config --libs-only-L glew) -lglew32 -lopengl32 + LDFLAGS += -lmovit $(shell pkg-config --libs-only-L glew) -lglew32 -lopengl32 -lpthread else LDFLAGS += $(shell pkg-config --libs movit 2> /dev/null) ifeq ($(targetos), Darwin) CXXFLAGS += -FOpenGL - LDFLAGS += -framework OpenGL + LDFLAGS += -lpthread -framework OpenGL else OBJS += consumer_xgl.o LDFLAGS += -lpthread -lGL -lX11 -- 2.39.2