Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-12-19 14:01:10 +0300
committerNirbheek Chauhan <nirbheek@centricular.com>2022-12-19 14:21:57 +0300
commit639997d67f02dbbb8adc1e2d4958c87d988b9a97 (patch)
tree4a788ef9261930a663dc1abe8d31d65e5c1e12c9 /meson.build
parent0530b324c14c0bbba9bc871ce060fceab08141c7 (diff)
meson: Handle windows path separator correctly
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1021>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 8dd390c6e..919a8cad8 100644
--- a/meson.build
+++ b/meson.build
@@ -6,6 +6,7 @@ project('gst-plugins-rs',
python = import('python').find_installation()
fs = import('fs')
+host_system = host_machine.system()
if get_option('debug')
target = 'debug'
@@ -219,7 +220,11 @@ endif
pkg_config_path = get_option('pkg_config_path')
if pkg_config_path.length() > 0
- extra_env += {'PKG_CONFIG_PATH': ':'.join(pkg_config_path)}
+ pathsep = ':'
+ if host_system == 'windows'
+ pathsep = ';'
+ endif
+ extra_env += {'PKG_CONFIG_PATH': pathsep.join(pkg_config_path)}
endif
rs_plugins = custom_target('gst-plugins-rs',