]> git.sesse.net Git - mlt/blobdiff - src/modules/gtk2/Makefile
Fix pango producer from loading with empty string arg.
[mlt] / src / modules / gtk2 / Makefile
index d8d20aeaedbc5ca628ff51f25835a50ce621ecf0..e6b2266cec58fcdeb4329d96c8e08e4bc25da2d0 100644 (file)
@@ -36,6 +36,9 @@ ifdef USE_PANGO
 OBJS += producer_pango.o
 CFLAGS += `pkg-config pangoft2 --cflags`
 LDFLAGS += `pkg-config pangoft2 --libs`
+ifeq ($(targetos),Darwin)
+LDFLAGS += -liconv
+endif
 ifeq ($(targetos),FreeBSD)
 LDFLAGS += -liconv
 endif
@@ -73,6 +76,8 @@ clean:
 
 install: all
        install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
+       install -d "$(DESTDIR)$(datadir)/mlt/gtk2"
+       install -m 644 *.yml "$(DESTDIR)$(datadir)/mlt/gtk2"
 
 ifneq ($(wildcard .depend),)
 include .depend