mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
netlink: move local-addresses.[ch] to src/shared
This code is not part of the public API of sd-netlink, nor used by it internally and hence should not be in the sd-netlink directory. Also, move the test case for it to src/test/.
This commit is contained in:
parent
e5c8524447
commit
733cbd00b0
@ -1540,6 +1540,7 @@ foreach tuple : [['myhostname', 'ENABLE_NSS_MYHOSTNAME'],
|
||||
'-shared',
|
||||
'-Wl,--version-script=' + version_script_arg],
|
||||
link_with : [libsystemd_static,
|
||||
libshared_static,
|
||||
libbasic],
|
||||
dependencies : [threads,
|
||||
librt],
|
||||
|
@ -71,8 +71,6 @@ libsystemd_sources = files('''
|
||||
sd-hwdb/hwdb-util.h
|
||||
sd-hwdb/sd-hwdb.c
|
||||
sd-netlink/generic-netlink.c
|
||||
sd-netlink/local-addresses.c
|
||||
sd-netlink/local-addresses.h
|
||||
sd-netlink/netlink-internal.h
|
||||
sd-netlink/netlink-message.c
|
||||
sd-netlink/netlink-slot.c
|
||||
|
@ -109,6 +109,8 @@ shared_sources = files('''
|
||||
linux/bpf_insn.h
|
||||
linux/dm-ioctl.h
|
||||
linux/ethtool.h
|
||||
local-addresses.c
|
||||
local-addresses.h
|
||||
lockfile-util.c
|
||||
lockfile-util.h
|
||||
log-link.h
|
||||
|
@ -754,6 +754,10 @@ tests += [
|
||||
[['src/test/test-sd-hwdb.c'],
|
||||
[],
|
||||
[]],
|
||||
|
||||
[['src/test/test-local-addresses.c'],
|
||||
[],
|
||||
[]],
|
||||
]
|
||||
|
||||
############################################################
|
||||
@ -964,10 +968,6 @@ tests += [
|
||||
[],
|
||||
[]],
|
||||
|
||||
[['src/libsystemd/sd-netlink/test-local-addresses.c'],
|
||||
[],
|
||||
[]],
|
||||
|
||||
[['src/libsystemd/sd-resolve/test-resolve.c'],
|
||||
[],
|
||||
[threads],
|
||||
|
Loading…
Reference in New Issue
Block a user