[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1009289: gmerlin-avdecoder FTCBFS: hard codes the build architecture pkg-config



Source: gmerlin-avdecoder
Version: 2.0.0~svn6298~dfsg0-2
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

gmerlin-avdecoder fails to cross build from source, because configure.ac
hard codes the build architecture pkg-config in one place and thus
misdetects a path that leads to a build failure. Please consider
applying the attached patch to fix that.

Helmut
--- gmerlin-avdecoder-2.0.0~svn6298~dfsg0.orig/configure.ac
+++ gmerlin-avdecoder-2.0.0~svn6298~dfsg0/configure.ac
@@ -184,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 ${XTRA_LDFLAGS}"
+GMERLIN_PLUGIN_LDFLAGS="-export-symbols "`$PKG_CONFIG --variable=prefix gmerlin`"/share/gmerlin/plugin.sym ${XTRA_LDFLAGS}"
 
 fi
 

Reply to: