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 /cargo_wrapper.py
parent0530b324c14c0bbba9bc871ce060fceab08141c7 (diff)
meson: Handle windows path separator correctly
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1021>
Diffstat (limited to 'cargo_wrapper.py')
-rw-r--r--cargo_wrapper.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cargo_wrapper.py b/cargo_wrapper.py
index 6a6f3e4d3..15244712e 100644
--- a/cargo_wrapper.py
+++ b/cargo_wrapper.py
@@ -74,9 +74,9 @@ if __name__ == "__main__":
env = os.environ.copy()
env['CARGO_TARGET_DIR'] = str(cargo_target_dir)
- pkg_config_path = env.get('PKG_CONFIG_PATH', '').split(':')
+ pkg_config_path = env.get('PKG_CONFIG_PATH', '').split(os.pathsep)
pkg_config_path.append(str(opts.root_dir / 'meson-uninstalled'))
- env['PKG_CONFIG_PATH'] = ':'.join(pkg_config_path)
+ env['PKG_CONFIG_PATH'] = os.pathsep.join(pkg_config_path)
if opts.command == 'build':
cargo_cmd = ['cargo']