diff options
author | Håvard Graff <havard.graff@gmail.com> | 2017-10-10 15:45:47 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2017-11-25 11:25:10 +0000 |
commit | 3d20065bc5a5d4d493671f22043f3f449fb634a9 (patch) | |
tree | 97ace5150f31804c2e770e9865f76f795def5b99 | |
parent | 38994d43592e70394da0e9c9ba35d89634d684a7 (diff) |
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.
-rw-r--r-- | pkgconfig/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build index b2deeac37..4f10db008 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'))) |