1 diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build
2 index edb0586c2..7ed46dfce 100644
3 --- a/pkgconfig/meson.build
4 +++ b/pkgconfig/meson.build
5 @@ -2,8 +2,8 @@ pkgconf = configuration_data()
7 pkgconf.set('prefix', join_paths(get_option('prefix')))
8 pkgconf.set('exec_prefix', '${prefix}')
9 -pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
10 -pkgconf.set('libexecdir', '${prefix}/@0@'.format(get_option('libexecdir')))
11 -pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir')))
12 +pkgconf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
13 +pkgconf.set('libexecdir', join_paths(get_option('prefix'), get_option('libexecdir')))
14 +pkgconf.set('includedir', join_paths(get_option('prefix'), get_option('includedir')))
15 pkgconf.set('GST_API_VERSION', apiversion)
16 pkgconf.set('VERSION', gst_version)
17 pkgconf.set('LIBM', mathlib.found() ? '-lm' : '')