diff options
author | Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> | 2023-01-03 10:18:48 +0100 |
---|---|---|
committer | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> | 2023-01-03 10:18:48 +0100 |
commit | d567efd07f75945fca5879c13c0edbc32ec6c8cd (patch) | |
tree | 875234d72ce596ca04994062c347731b7d4680d4 | |
parent | 5ac3b12a0d2b8971d1f3bc8ff6756b393cc6c5d7 (diff) |
Use cross-build compatible macro for finding pkg-config.
Origin: other
Last-Update: 2022-04-25
The package uses AC_PATH_PROG to discover the location of pkg-config(1). This
macro fails to select the correct version to support cross-compilation.
This patch changes it to use AC_PATH_TOOL.
Refer to https://bugs.debian.org/884798 for details.
=== modified file 'configure.ac'
Gbp-Pq: Name ac-path-pkgconfig.patch
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index cbaa110..ddb2488 100644 --- a/configure.ac +++ b/configure.ac @@ -96,7 +96,7 @@ AC_ARG_ENABLE(deprecated,[ --disable-deprecated do not include any deprecated AC_C_BIGENDIAN AC_CHECK_SIZEOF(void *) -AC_PATH_PROG(PKG_CONFIG, pkg-config, no) +AC_PATH_TOOL(PKG_CONFIG, pkg-config, no) |