File: fix-cross-build.patch

package info (click to toggle)
licenseutils 0.0.9-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,672 kB
  • sloc: ansic: 26,827; sh: 6,889; makefile: 716; cpp: 348; sed: 16
file content (20 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Use the standard macro PKG_PROG_PKG_CONFIG tp find the correct pkg-config
 That macro is already implicitly used via PKG_CHECK_MODULES, and is needed to
 find the right pkg-confix in case of cross compilation
Author: Helmut Grohne <helmut@subdivi.de>
Acked-By: Mattia Rizzolo <mattia@debian.org>
Bug-Debian: https://bugs.debian.org/977819
Bug: https://savannah.nongnu.org/bugs/index.php?59891
Last-Update: 2021-01-16

--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,7 @@
 
 libcurl_min_version=7.10.0
 libcurl_min_vernum=070A00
-AC_CHECK_PROGS(PKG_CONFIG, pkg-config)
+PKG_PROG_PKG_CONFIG
 if test "X$PKG_CONFIG" = X; then
           AC_MSG_ERROR(Please install pkg-config from http://pkg-config.freedesktop.org/)
 fi