summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2021-05-14 23:08:57 +1000
committerMatthew Waters <matthew@centricular.com>2021-05-14 23:08:57 +1000
commit8445166561d5e9f849314adf80913a058b20abe0 (patch)
tree48f57980cb0959b25e74c092ed42a4592cb2782b /config
parent5ad371ab5e7c6473b8738c3172b44dca9312c63a (diff)
macos/universal: fix pkg-config packaging
When building for universal, the build-tools pkg-config is not sufficient as it is not built for the universal archs. We need to build our own version to distribute. Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/701>
Diffstat (limited to 'config')
-rw-r--r--config/darwin.config5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/darwin.config b/config/darwin.config
index afc91166..6d8a1177 100644
--- a/config/darwin.config
+++ b/config/darwin.config
@@ -133,5 +133,10 @@ if use_ccache:
# Workaround for https://openradar.appspot.com/22671534 on 10.11.
env['gl_cv_func_getcwd_abort_bug'] = 'no'
+# for glib inside pkg-config
+env['glib_cv_stack_grows'] = 'yes'
+env['glib_cv_uscore'] = 'no'
+env['ac_cv_func_posix_getpwuid_r'] = 'yes'
+env['ac_cv_func_posix_getgrgid_r'] = 'yes'
moltenvk_prefix = os.path.join(home_dir, 'moltenvk')