]> git.sesse.net Git - mlt/blobdiff - src/framework/Makefile
Fix movit.convert.fence frame property when using tractor.
[mlt] / src / framework / Makefile
index 6c64860136b17fbd9c44b12dcf01e748e307f3df..2c3eac9d5804e7b7a70640ce0a74e0669b70421c 100644 (file)
@@ -20,6 +20,10 @@ SONAME = $(NAME).$(soversion)
 SHFLAGS += -Wl,-soname,$(SONAME)
 endif
 
+ifeq ($(targetos), Linux)
+SHFLAGS += -Wl,--version-script=mlt.vers
+endif
+
 OBJS = mlt_frame.o \
           mlt_version.o \
           mlt_geometry.o \
@@ -43,7 +47,8 @@ OBJS = mlt_frame.o \
           mlt_tokeniser.o \
           mlt_profile.o \
           mlt_log.o \
-          mlt_cache.o
+          mlt_cache.o \
+          mlt_animation.o
 
 INCS = mlt_consumer.h \
           mlt_version.h \
@@ -70,7 +75,8 @@ INCS = mlt_consumer.h \
           mlt_tokeniser.h \
           mlt_profile.h \
           mlt_log.h \
-          mlt_cache.h
+          mlt_cache.h \
+          mlt_animation.h
 
 SRCS := $(OBJS:.o=.c)
 
@@ -81,7 +87,7 @@ endif
 
 CFLAGS += $(RDYNAMIC) -DPREFIX_DATA="\"$(mltdatadir)\"" -DPREFIX_LIB="\"$(moduledir)\""
 
-LDFLAGS += $(LIBDL) -lpthread
+LDFLAGS += $(LIBDL) -lpthread -lm
 
 all:   $(TARGET)