summaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
authorHåvard Graff <havard.graff@gmail.com>2017-10-10 15:45:47 +0200
committerTim-Philipp Müller <tim@centricular.com>2017-11-25 11:25:10 +0000
commit3d20065bc5a5d4d493671f22043f3f449fb634a9 (patch)
tree97ace5150f31804c2e770e9865f76f795def5b99 /pkgconfig
parent38994d43592e70394da0e9c9ba35d89634d684a7 (diff)
downloadgstreamer-plugins-bad-3d20065bc5a5d4d493671f22043f3f449fb634a9.tar.gz
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.
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/meson.build2
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')))