mirror of
https://github.com/davea42/libdwarf-code.git
synced 2025-10-14 19:48:55 +08:00
Make meson generate a proper pkg-config file when absolute paths (#298)
are specified for includedir and libdir etc. modified: meson.build
This commit is contained in:
@@ -254,9 +254,9 @@ 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('pkgincludedir', '${prefix}/@0@'.format(get_option('includedir')) + '/libdwarf')
|
||||
pkgconf.set('libdir', join_paths('${prefix}','@0@'.format(get_option('libdir'))))
|
||||
pkgconf.set('includedir', join_paths('${prefix}','@0@'.format(get_option('includedir'))))
|
||||
pkgconf.set('pkgincludedir', join_paths('${prefix}','@0@'.format(get_option('includedir')),'/libdwarf'))
|
||||
pkgconf.set('VMAJ', v_maj)
|
||||
pkgconf.set('PACKAGE_VERSION', meson.project_version())
|
||||
pkgconf.set('PROJECT_VERSION', meson.project_version())
|
||||
|
Reference in New Issue
Block a user