diff options
author | Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> | 2024-04-15 09:00:56 +0200 |
---|---|---|
committer | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> | 2024-04-15 09:00:56 +0200 |
commit | 7fad7d0b6671c19879477d8692af98d958a6017e (patch) | |
tree | 19dfbb6539e8a3e1d3d6d081cb9f1afa0668d49f | |
parent | 9b834e9e4fef773d2150148342a7425013bebc81 (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 a9d5d2c..2894316 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) |