mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
16 lines
983 B
Diff
16 lines
983 B
Diff
diff -ur a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py
|
|
--- a/mesonbuild/modules/pkgconfig.py 2024-05-17 17:52:30.880877000 -0700
|
|
+++ b/mesonbuild/modules/pkgconfig.py 2024-05-17 17:53:10.901068000 -0700
|
|
@@ -693,10 +693,7 @@
|
|
pcfile = filebase + '.pc'
|
|
pkgroot = pkgroot_name = kwargs['install_dir'] or default_install_dir
|
|
if pkgroot is None:
|
|
- if mesonlib.is_freebsd():
|
|
- pkgroot = os.path.join(_as_str(state.environment.coredata.get_option(mesonlib.OptionKey('prefix'))), 'libdata', 'pkgconfig')
|
|
- pkgroot_name = os.path.join('{prefix}', 'libdata', 'pkgconfig')
|
|
- elif mesonlib.is_haiku():
|
|
+ if mesonlib.is_haiku():
|
|
pkgroot = os.path.join(_as_str(state.environment.coredata.get_option(mesonlib.OptionKey('prefix'))), 'develop', 'lib', 'pkgconfig')
|
|
pkgroot_name = os.path.join('{prefix}', 'develop', 'lib', 'pkgconfig')
|
|
else:
|