mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-05 00:38:07 +02:00
We require these, otherwise we can get a linker error about _nm_utils_monotonic_timestamp_initialized symbol being undefined.
47 lines
860 B
Meson
47 lines
860 B
Meson
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
|
|
libnmi_core = static_library(
|
|
'nmi-core',
|
|
sources: files(
|
|
'nmi-cmdline-reader.c',
|
|
'nmi-dt-reader.c',
|
|
'nmi-ibft-reader.c',
|
|
),
|
|
include_directories: [
|
|
src_inc,
|
|
top_inc,
|
|
],
|
|
dependencies: [
|
|
libnm_core_public_dep,
|
|
],
|
|
)
|
|
|
|
executable(
|
|
'nm-initrd-generator',
|
|
'nm-initrd-generator.c',
|
|
include_directories: [
|
|
src_inc,
|
|
top_inc,
|
|
],
|
|
dependencies: [
|
|
libnm_core_public_dep,
|
|
],
|
|
link_with: [
|
|
libnmi_core,
|
|
libnm_core_aux_intern,
|
|
libnm_core_impl,
|
|
libnm_crypto,
|
|
libnm_platform,
|
|
libnm_base,
|
|
libnm_systemd_shared,
|
|
libnm_udev_aux,
|
|
libnm_log_core,
|
|
libnm_glib_aux,
|
|
libnm_std_aux,
|
|
libc_siphash,
|
|
],
|
|
link_args: ldflags_linker_script_binary,
|
|
link_depends: linker_script_binary,
|
|
install: true,
|
|
install_dir: nm_libexecdir,
|
|
)
|