summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-04-03 15:33:58 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2020-10-09 00:29:37 +0530
commit824a1f71498be2b8a0515bef1b9252d1b511150d (patch)
treec7469a7adc3ba9b4edc29814b7fe751978db51d7
parent639e2ca22269de4ff8e481126b26d3f4326ee331 (diff)
pkg-config.recipe: Always auto-detect the prefix
With this, the `prefix` variable in .pc files will be automatically detected based on the location of the .pc file. This allows for portable prefixes. This is the recommended configuration on Windows and macOS. We need to enable this since we ship pkg-config with the release binaries now. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/634>
-rw-r--r--recipes/build-tools/pkg-config.recipe2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/build-tools/pkg-config.recipe b/recipes/build-tools/pkg-config.recipe
index 9b98f6ac..e9ca75d3 100644
--- a/recipes/build-tools/pkg-config.recipe
+++ b/recipes/build-tools/pkg-config.recipe
@@ -8,7 +8,7 @@ class Recipe(recipe.Recipe):
stype = SourceType.TARBALL
url = 'https://pkgconfig.freedesktop.org/releases/pkg-config-%(version)s.tar.gz'
tarball_checksum = '6fc69c01688c9458a57eb9a1664c9aba372ccda420a02bf4429fe610e7e7d591'
- configure_options = '--with-internal-glib --disable-host-tool '
+ configure_options = '--with-internal-glib --disable-host-tool --enable-define-prefix '
files_bins = ['pkg-config']
files_share = ['share/aclocal/pkg.m4']