diff options
author | Michael Biebl <biebl@debian.org> | 2017-04-26 22:14:23 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2017-04-26 22:14:23 +0200 |
commit | c3045943c4ea2f63e62f85e64fcf1a862b82ac7d (patch) | |
tree | 485cb88ebe82040bf9b0334065872895b99ecf44 /src | |
parent | 1697c8cde45d76b2e35f728d0769c4a849db21e6 (diff) | |
download | systemd-c3045943c4ea2f63e62f85e64fcf1a862b82ac7d.tar.gz systemd-c3045943c4ea2f63e62f85e64fcf1a862b82ac7d.tar.bz2 systemd-c3045943c4ea2f63e62f85e64fcf1a862b82ac7d.zip |
meson: get rid of libfirewall
Diffstat (limited to 'src')
-rw-r--r-- | src/network/meson.build | 6 | ||||
-rw-r--r-- | src/shared/meson.build | 17 | ||||
-rw-r--r-- | src/test/meson.build | 3 |
3 files changed, 9 insertions, 17 deletions
diff --git a/src/network/meson.build b/src/network/meson.build index 4d76902ef1..771aa68ec1 100644 --- a/src/network/meson.build +++ b/src/network/meson.build @@ -128,8 +128,7 @@ if conf.get('ENABLE_NETWORKD', 0) == 1 [libnetworkd_core, libudev_internal, libsystemd_network, - libshared, - libfirewall], + libshared], []], [['src/network/test-network-tables.c', @@ -139,8 +138,7 @@ if conf.get('ENABLE_NETWORKD', 0) == 1 libudev_internal, libudev_core, libsystemd_network, - libshared, - libfirewall], + libshared], [], '', '', [], [network_include_dir] + libudev_core_includes], diff --git a/src/shared/meson.build b/src/shared/meson.build index 7d51e99487..0747f76649 100644 --- a/src/shared/meson.build +++ b/src/shared/meson.build @@ -34,6 +34,7 @@ shared_sources = ''' efivars.h fdset.c fdset.h + firewall-util.h fstab-util.c fstab-util.h gcrypt-util.c @@ -114,6 +115,10 @@ if conf.get('HAVE_SECCOMP', 0) == 1 shared_sources += ['seccomp-util.c'] endif +if conf.get('HAVE_LIBIPTC', 0) == 1 + shared_sources += ['firewall-util.c'] +endif + libshared_name = 'systemd-shared-@0@'.format(meson.project_version()) libshared = shared_library( @@ -132,6 +137,7 @@ libshared = shared_library( libacl, libcryptsetup, libgcrypt, + libiptc, libseccomp, libselinux, libidn, @@ -157,14 +163,3 @@ libshared_static = static_library( libxz, liblz4, libblkid]) - -if conf.get('HAVE_LIBIPTC', 0) == 1 - libfirewall = static_library( - 'firewall', - 'firewall-util.h', - 'firewall-util.c', - include_directories : includes, - dependencies : [libiptc]) -else - libfirewall = [] -endif diff --git a/src/test/meson.build b/src/test/meson.build index 6c0fd4dca9..bbb525d6fe 100644 --- a/src/test/meson.build +++ b/src/test/meson.build @@ -415,8 +415,7 @@ tests += [ [['src/test/test-firewall-util.c'], - [libfirewall, - libshared], + [libshared], [], 'HAVE_LIBIPTC'], |