From c44edd95e7279a7981a22c35b525a648c8ffffcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5vard=20Graff?= Date: Tue, 10 Oct 2017 15:44:51 +0200 Subject: [PATCH] meson.build: use join_paths() on prefix So that "/" are correct on Windows and the paths in the .pc files are like C:/some/where and not C:\some\where. --- pkgconfig/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build index 23aa5d0e7b..71f38b9536 100644 --- a/pkgconfig/meson.build +++ b/pkgconfig/meson.build @@ -1,6 +1,6 @@ pkgconf = configuration_data() -pkgconf.set('prefix', get_option('prefix')) +pkgconf.set('prefix', join_paths(get_option('prefix'))) pkgconf.set('exec_prefix', '${prefix}') pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir'))) pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir')))