faad2-2.7-libmp4ff-shared-lib.patch 867 B

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