1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: propagate LDFLAGS to plugins
Author: IOhannes m zmölnig
Forwarded: no
Last-Update: 2013-1210
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- gmerlin-avdecoder.orig/configure.ac
+++ gmerlin-avdecoder/configure.ac
@@ -24,6 +24,8 @@
AC_SUBST(LTVERSION_AGE)
OLD_CFLAGS=$CFLAGS
+XTRA_LDFLAGS=$LDFLAGS
+AC_SUBST([XTRA_LDFLAGS])
AC_LANG(C)
@@ -182,7 +184,7 @@
gmerlin_plugindir='$(libdir)/gmerlin/plugins'
dnl LDFLAGS for plugins
-GMERLIN_PLUGIN_LDFLAGS="-export-symbols "`pkg-config --variable=prefix gmerlin`"/share/gmerlin/plugin.sym"
+GMERLIN_PLUGIN_LDFLAGS="-export-symbols "`pkg-config --variable=prefix gmerlin`"/share/gmerlin/plugin.sym ${XTRA_LDFLAGS}"
fi
|