diff options
author | X512 <danger_mail@list.ru> | 2022-11-05 07:55:32 +0900 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-01-20 14:57:33 -0500 |
commit | b1384b9c9f64ff909d5431176503a7dcdadd426c (patch) | |
tree | eb5e482250784ea838dd08e22bf4902c8c2a2a81 | |
parent | 307473179773c59009ee824452743ff11645366d (diff) | |
download | meson-b1384b9c9f64ff909d5431176503a7dcdadd426c.zip meson-b1384b9c9f64ff909d5431176503a7dcdadd426c.tar.gz meson-b1384b9c9f64ff909d5431176503a7dcdadd426c.tar.bz2 |
Haiku pkgconfig directory layout support
-rw-r--r-- | mesonbuild/modules/pkgconfig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/modules/pkgconfig.py b/mesonbuild/modules/pkgconfig.py index ce90f2f..f26ba77 100644 --- a/mesonbuild/modules/pkgconfig.py +++ b/mesonbuild/modules/pkgconfig.py @@ -701,6 +701,9 @@ class PkgConfigModule(NewExtensionModule): 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(): + 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: pkgroot = os.path.join(_as_str(state.environment.coredata.get_option(mesonlib.OptionKey('libdir'))), 'pkgconfig') pkgroot_name = os.path.join('{libdir}', 'pkgconfig') |