mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
shared: move "nm-compat.[hc]" to "src/contrib/"
"nm-compat.h" is not intended to be used by NetworkManager itself. Instead, it's intended to be copied into the source tree of VPN plugins, as adapter for different libnm versions. Move it to "src/contrib/".
This commit is contained in:
parent
63622a147a
commit
d6681a0429
|
@ -1902,7 +1902,8 @@ src_libnm_client_impl_tests_test_remote_settings_client_CPPFLAGS = $(src_libnm_c
|
|||
src_libnm_client_impl_tests_test_secret_agent_CPPFLAGS = $(src_libnm_client_impl_tests_cppflags)
|
||||
|
||||
src_libnm_client_impl_tests_test_libnm_SOURCES = \
|
||||
shared/nm-utils/nm-compat.c \
|
||||
src/contrib/nm-compat.c \
|
||||
src/contrib/nm-compat.h \
|
||||
src/libnm-client-impl/tests/test-libnm.c \
|
||||
$(NULL)
|
||||
|
||||
|
@ -5521,8 +5522,6 @@ EXTRA_DIST += \
|
|||
\
|
||||
po/meson.build \
|
||||
\
|
||||
shared/nm-utils/nm-compat.c \
|
||||
shared/nm-utils/nm-compat.h \
|
||||
shared/meson.build \
|
||||
\
|
||||
src/meson.build \
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
nm_vpn_plugin_utils_source = files('nm-vpn-plugin-utils.c')
|
||||
|
||||
src_contrib_nm_compat_source = files('nm-compat.c')
|
||||
|
|
|
@ -10,7 +10,7 @@ test_units = [
|
|||
foreach test_unit: test_units
|
||||
exe = executable(
|
||||
test_unit,
|
||||
test_unit + '.c',
|
||||
[ test_unit + '.c' ] + (test_unit == 'test-libnm' ? src_contrib_nm_compat_source : []),
|
||||
include_directories: [
|
||||
libnm_client_public_inc,
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue