]> git.sesse.net Git - mlt/commitdiff
let melt be built without SDL on Windows
authorDan Dennedy <dan@dennedy.org>
Fri, 10 Aug 2012 07:07:08 +0000 (00:07 -0700)
committerDan Dennedy <dan@dennedy.org>
Fri, 10 Aug 2012 07:07:08 +0000 (00:07 -0700)
with -DMELT_NOSDL in CFLAGS

src/melt/Makefile

index 6d501d96793a2dc8bc5f7cd149ebfbf1054148f4..c21ef0d313ff95a180813c3ef8d81a554f1631fa 100644 (file)
@@ -11,8 +11,10 @@ LDFLAGS += -L../framework -lmlt -lpthread
 SRCS := $(OBJS:.o=.c)
 
 ifeq ($(targetos), MinGW)
+ifeq (, $(findstring MELT_NOSDL, $(CFLAGS)))
 CFLAGS += `sdl-config --cflags`
 LDFLAGS += `sdl-config --libs`
+endif
 bindir = $(prefix)
 endif