summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2014-09-08 00:33:22 -0700
committerDavid Schleef <ds@schleef.org>2014-09-08 00:33:22 -0700
commit3840538b23d8d902879f08dc387cfdb6d500fa3c (patch)
tree8cc20024f1bba3c23495bc3db15bf34fc2d83280
parent5c913aaa794b0ca14785e85fdf4d2409a2f5b8a7 (diff)
build static version like gss
-rw-r--r--rtmp/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/rtmp/Makefile.am b/rtmp/Makefile.am
index 4cab66b..acb2fb4 100644
--- a/rtmp/Makefile.am
+++ b/rtmp/Makefile.am
@@ -1,5 +1,9 @@
lib_LTLIBRARIES = libgstrtmp-@GST_API_VERSION@.la
+if ENABLE_STATIC_LIB
+noinst_LTLIBRARIES = libgstrtmp.la
+endif
+
gstrtmp_@GST_API_VERSION@_includedir = $(includedir)/gstreamer-@GST_API_VERSION@/rtmp
@@ -16,6 +20,14 @@ libgstrtmp_@GST_API_VERSION@_la_LDFLAGS = \
libgstrtmp_@GST_API_VERSION@_la_SOURCES = \
$(sources)
+libgstrtmp_la_CFLAGS = \
+ $(GST_RTMP_CFLAGS) \
+ $(GST_CFLAGS)
+libgstrtmp_la_LIBS = \
+ $(GST_LIBS) \
+ $(SOUP_LIBS)
+libgstrtmp_la_SOURCES = $(sources)
+
sources = \
amf.c \
amf.h \