mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
16 lines
726 B
Diff
16 lines
726 B
Diff
diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build
|
|
index 04abfbee5..88c86b431 100644
|
|
--- a/pkgconfig/meson.build
|
|
+++ b/pkgconfig/meson.build
|
|
@@ -2,8 +2,8 @@ pkgconf = configuration_data()
|
|
|
|
pkgconf.set('prefix', 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')))
|
|
+pkgconf.set('libdir', join_paths(get_option('prefix'), get_option('libdir')))
|
|
+pkgconf.set('includedir', join_paths(get_option('prefix'), get_option('includedir')))
|
|
pkgconf.set('GST_API_VERSION', api_version)
|
|
pkgconf.set('VERSION', gst_version)
|
|
pkgconf.set('LIBM', libm.found() ? '-lm' : '')
|