summaryrefslogtreecommitdiff
path: root/recipes/build-tools
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2020-04-03 15:33:58 +0530
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-04-03 12:04:01 +0000
commit0ce2435e1da7d947f39b8555c780e05815ae9c7d (patch)
treee2b06b8a508719f6d64aad97f2bd1217e1ffeffe /recipes/build-tools
parent5ca5553c30aac409309052746c6090e6debdd9de (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.
Diffstat (limited to 'recipes/build-tools')
-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 bcb6f3ce..78dce7e4 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 '
override_libtool = False
files_bins = ['pkg-config']