0001-ffmsindex-fix-linking-issues.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 507368ef842aa321a3fb30d0e4b274977da88fde Mon Sep 17 00:00:00 2001
  2. From: Ricardo Constantino <wiiaboo@gmail.com>
  3. Date: Wed, 20 Dec 2017 00:52:24 +0000
  4. Subject: [PATCH] ffmsindex: fix linking issues
  5. ---
  6. Makefile.am | 1 +
  7. configure.ac | 2 ++
  8. 2 files changed, 3 insertions(+)
  9. diff --git a/Makefile.am b/Makefile.am
  10. index 6e17d62..f065ed8 100644
  11. --- a/Makefile.am
  12. +++ b/Makefile.am
  13. @@ -49,3 +49,4 @@ include_HEADERS = $(top_srcdir)/include/ffms.h $(top_srcdir)/include/ffmscompat.
  14. bin_PROGRAMS = src/index/ffmsindex
  15. src_index_ffmsindex_SOURCES = src/index/ffmsindex.cpp
  16. src_index_ffmsindex_LDADD = src/core/libffms2.la
  17. +src_index_ffmsindex_LDFLAGS = @src_index_ffmsindex_LDFLAGS@
  18. diff --git a/configure.ac b/configure.ac
  19. index 00b3429..114c7ea 100644
  20. --- a/configure.ac
  21. +++ b/configure.ac
  22. @@ -149,8 +149,10 @@ AC_MSG_RESULT($bsymbolic)
  23. if echo "$host" | $GREP "mingw" >/dev/null 2>&1; then
  24. LTUNDEF="-no-undefined"
  25. + src_index_ffmsindex_LDFLAGS="$src_index_ffmsindex_LDFLAGS -municode"
  26. fi
  27. AC_SUBST([LTUNDEF])
  28. +AC_SUBST([src_index_ffmsindex_LDFLAGS])
  29. AC_CONFIG_FILES([
  30. Makefile
  31. --
  32. 2.15.0