summaryrefslogtreecommitdiff
path: root/debian/patches/0003-use-PKG_PROG_PKG_CONFIG-cross-compilation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-use-PKG_PROG_PKG_CONFIG-cross-compilation.patch')
-rw-r--r--debian/patches/0003-use-PKG_PROG_PKG_CONFIG-cross-compilation.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/0003-use-PKG_PROG_PKG_CONFIG-cross-compilation.patch b/debian/patches/0003-use-PKG_PROG_PKG_CONFIG-cross-compilation.patch
new file mode 100644
index 0000000..3c27f1f
--- /dev/null
+++ b/debian/patches/0003-use-PKG_PROG_PKG_CONFIG-cross-compilation.patch
@@ -0,0 +1,21 @@
+From: Teus Benschop <teusjannette@gmail.com>
+Date: Thu, 1 Nov 2018 10:30:58 +0100
+Subject: use PKG_PROG_PKG_CONFIG cross compilation
+
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6ed56f2..32dfe59 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -207,7 +207,7 @@ AM_CONDITIONAL(HAVE_CPPUNIT, test "$CPPUNIT_LIBS")
+ # Find pkg-config
+ # ---------------------------------------------------------------------
+ use_pkgconfig=yes
+-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
++PKG_PROG_PKG_CONFIG(PKG_CONFIG, pkg-config, no)
+ if test x$PKG_CONFIG = xno ; then
+ AC_MSG_WARN([*** pkg-config not found. See http://www.freedesktop.org/software/pkgconfig/])
+ AC_MSG_WARN([not using pkg-config])