meson: fix up SYSTEM_LIBDIR, SYSTEM_INCLUDEDIR, PKG_DEFAULT_PATH
parent
bca827649d
commit
adc7f92874
11
meson.build
11
meson.build
|
@ -40,9 +40,14 @@ foreach f : check_functions
|
||||||
endif
|
endif
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
cdata.set_quoted('SYSTEM_LIBDIR', '/fixme')
|
default_path = []
|
||||||
cdata.set_quoted('SYSTEM_INCLUDEDIR', '/fixme')
|
foreach f : ['libdir', 'datadir']
|
||||||
cdata.set_quoted('PKG_DEFAULT_PATH', '/fixme')
|
default_path += [join_paths(get_option('prefix'), get_option(f), 'pkgconfig')]
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
cdata.set_quoted('SYSTEM_LIBDIR', join_paths(get_option('prefix'), get_option('libdir')))
|
||||||
|
cdata.set_quoted('SYSTEM_INCLUDEDIR', join_paths(get_option('prefix'), get_option('includedir')))
|
||||||
|
cdata.set_quoted('PKG_DEFAULT_PATH', ':'.join(default_path))
|
||||||
cdata.set_quoted('PACKAGE_NAME', meson.project_name())
|
cdata.set_quoted('PACKAGE_NAME', meson.project_name())
|
||||||
cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
|
cdata.set_quoted('PACKAGE_VERSION', meson.project_version())
|
||||||
cdata.set_quoted('PACKAGE_BUGREPORT', 'http://github.com/pkgconf/pkgconf/issues')
|
cdata.set_quoted('PACKAGE_BUGREPORT', 'http://github.com/pkgconf/pkgconf/issues')
|
||||||
|
|
Loading…
Reference in New Issue