summaryrefslogtreecommitdiff
path: root/faad2/faad2-2.7-libmp4ff-shared-lib.patch
blob: 56a13119296959beaec821ac03ca28366c71bea7 (plain)
    1 Ripped from Debian
    2 
    3 Patch to create a shared lib for libmp4ff.
    4 
    5 --- a/common/mp4ff/Makefile.am
    6 +++ b/common/mp4ff/Makefile.am
    7 @@ -1,7 +1,8 @@
    8 -lib_LIBRARIES = libmp4ff.a
    9 +lib_LTLIBRARIES = libmp4ff.la
   10  include_HEADERS = mp4ff.h mp4ffint.h
   11  
   12 -libmp4ff_a_CFLAGS = -DUSE_TAGGING=1
   13 +AM_CFLAGS = -DUSE_TAGGING=1
   14  
   15 -libmp4ff_a_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
   16 +libmp4ff_la_LDFLAGS = -version-info 0:0:0
   17 +libmp4ff_la_SOURCES = mp4ff.c mp4atom.c mp4meta.c mp4sample.c mp4util.c \
   18  		     mp4tagupdate.c mp4ff.h mp4ffint.h mp4ff_int_types.h
   19 --- a/frontend/Makefile.am
   20 +++ b/frontend/Makefile.am
   21 @@ -5,7 +5,7 @@
   22  	   -I$(top_srcdir)/common/mp4ff
   23  
   24  faad_LDADD = $(top_builddir)/libfaad/libfaad.la \
   25 -	     $(top_builddir)/common/mp4ff/libmp4ff.a
   26 +	     $(top_builddir)/common/mp4ff/libmp4ff.la
   27  
   28  faad_SOURCES = main.c \
   29  	       audio.c audio.h \

Generated by cgit