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',
|
'-shared',
|
||||||
'-Wl,--version-script=' + version_script_arg],
|
'-Wl,--version-script=' + version_script_arg],
|
||||||
link_with : [libsystemd_static,
|
link_with : [libsystemd_static,
|
||||||
|
libshared_static,
|
||||||
libbasic],
|
libbasic],
|
||||||
dependencies : [threads,
|
dependencies : [threads,
|
||||||
librt],
|
librt],
|
||||||
|
|
|
@ -71,8 +71,6 @@ libsystemd_sources = files('''
|
||||||
sd-hwdb/hwdb-util.h
|
sd-hwdb/hwdb-util.h
|
||||||
sd-hwdb/sd-hwdb.c
|
sd-hwdb/sd-hwdb.c
|
||||||
sd-netlink/generic-netlink.c
|
sd-netlink/generic-netlink.c
|
||||||
sd-netlink/local-addresses.c
|
|
||||||
sd-netlink/local-addresses.h
|
|
||||||
sd-netlink/netlink-internal.h
|
sd-netlink/netlink-internal.h
|
||||||
sd-netlink/netlink-message.c
|
sd-netlink/netlink-message.c
|
||||||
sd-netlink/netlink-slot.c
|
sd-netlink/netlink-slot.c
|
||||||
|
|
|
@ -109,6 +109,8 @@ shared_sources = files('''
|
||||||
linux/bpf_insn.h
|
linux/bpf_insn.h
|
||||||
linux/dm-ioctl.h
|
linux/dm-ioctl.h
|
||||||
linux/ethtool.h
|
linux/ethtool.h
|
||||||
|
local-addresses.c
|
||||||
|
local-addresses.h
|
||||||
lockfile-util.c
|
lockfile-util.c
|
||||||
lockfile-util.h
|
lockfile-util.h
|
||||||
log-link.h
|
log-link.h
|
||||||
|
|
|
@ -754,6 +754,10 @@ tests += [
|
||||||
[['src/test/test-sd-hwdb.c'],
|
[['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'],
|
[['src/libsystemd/sd-resolve/test-resolve.c'],
|
||||||
[],
|
[],
|
||||||
[threads],
|
[threads],
|
||||||
|
|
Loading…
Reference in New Issue