mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
meson: use jinja2 in src/libsystemd/
This commit is contained in:
parent
e11a25cadb
commit
d34593570a
@ -7,14 +7,14 @@
|
|||||||
# the Free Software Foundation; either version 2.1 of the License, or
|
# the Free Software Foundation; either version 2.1 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
|
|
||||||
prefix=@prefix@
|
prefix={{PREFIX}}
|
||||||
exec_prefix=@exec_prefix@
|
exec_prefix={{PREFIX}}
|
||||||
libdir=@rootlibdir@
|
libdir={{ROOTLIBDIR}}
|
||||||
includedir=@includedir@
|
includedir={{INCLUDE_DIR}}
|
||||||
|
|
||||||
Name: systemd
|
Name: systemd
|
||||||
Description: systemd Library
|
Description: systemd Library
|
||||||
URL: @PROJECT_URL@
|
URL: {{PROJECT_URL}}
|
||||||
Version: @PROJECT_VERSION@
|
Version: {{PROJECT_VERSION}}
|
||||||
Libs: -L${libdir} -lsystemd
|
Libs: -L${libdir} -lsystemd
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
@ -177,11 +177,14 @@ libsystemd_sym_path = join_paths(meson.current_source_dir(), 'libsystemd.sym')
|
|||||||
static_libsystemd = get_option('static-libsystemd')
|
static_libsystemd = get_option('static-libsystemd')
|
||||||
static_libsystemd_pic = static_libsystemd == 'true' or static_libsystemd == 'pic'
|
static_libsystemd_pic = static_libsystemd == 'true' or static_libsystemd == 'pic'
|
||||||
|
|
||||||
configure_file(
|
custom_target(
|
||||||
|
'libsystemd.pc',
|
||||||
input : 'libsystemd.pc.in',
|
input : 'libsystemd.pc.in',
|
||||||
output : 'libsystemd.pc',
|
output : 'libsystemd.pc',
|
||||||
configuration : substs,
|
command : [meson_render_jinja2, config_h, '@INPUT@'],
|
||||||
install_dir : pkgconfiglibdir == 'no' ? '' : pkgconfiglibdir)
|
capture : true,
|
||||||
|
install : pkgconfiglibdir != 'no',
|
||||||
|
install_dir : pkgconfiglibdir)
|
||||||
|
|
||||||
############################################################
|
############################################################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user