summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-14 18:49:47 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-23 21:47:28 -0400
commitaac2605820859fe2908ba9adfcb96a65b2e375e5 (patch)
treee89fd0988b8e587108457e9c370d7017e2518f2b /src/udev
parentab916f2e8101a4733f66b8d291895af73965b379 (diff)
meson: eliminate libsystemd_journal_internal and use libsystemd_internal less
This simplifies things and leads to a smaller installation footprint. libsystemd_internal and libsystemd_journal_internal are linked into libystemd-shared and available to all programs linked to libsystemd-shared. libsystemd_journal_internal is not needed anymore, and libsystemd-shared is used everwhere. The few exceptions are: libsystemd.so, test-engine, test-bus-error, and various loadable modules.
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/meson.build24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/udev/meson.build b/src/udev/meson.build
index 19dc522172..e7feaedb4f 100644
--- a/src/udev/meson.build
+++ b/src/udev/meson.build
@@ -92,6 +92,12 @@ link_config_gperf_c = custom_target(
############################################################
+libudev_internal = static_library(
+ 'udev',
+ libudev_sources,
+ include_directories : includes,
+ link_with : [libshared])
+
libudev_core_includes = [includes, include_directories('net')]
libudev_core = static_library(
'udev-core',
@@ -105,8 +111,7 @@ executable('ata_id',
'ata_id/ata_id.c',
include_directories : includes,
link_with : [libudev_internal,
- libshared,
- libsystemd_internal],
+ libshared],
install : true,
install_dir : udevlibexecdir)
@@ -114,8 +119,7 @@ executable('cdrom_id',
'cdrom_id/cdrom_id.c',
include_directories : includes,
link_with : [libudev_internal,
- libshared,
- libsystemd_internal],
+ libshared],
install : true,
install_dir : udevlibexecdir)
@@ -123,8 +127,7 @@ executable('collect',
'collect/collect.c',
include_directories : includes,
link_with : [libudev_internal,
- libshared,
- libsystemd_internal],
+ libshared],
install : true,
install_dir : udevlibexecdir)
@@ -135,8 +138,7 @@ executable('scsi_id',
'scsi_id/scsi.h',
include_directories : includes,
link_with : [libudev_internal,
- libshared,
- libsystemd_internal],
+ libshared],
install : true,
install_dir : udevlibexecdir)
@@ -144,8 +146,7 @@ executable('v4l_id',
'v4l_id/v4l_id.c',
include_directories : includes,
link_with : [libudev_internal,
- libshared,
- libsystemd_internal],
+ libshared],
install : true,
install_dir : udevlibexecdir)
@@ -155,8 +156,7 @@ executable('mtd_probe',
'mtd_probe/probe_smartmedia.c',
include_directories : includes,
link_with : [libudev_internal,
- libshared,
- libsystemd_internal],
+ libshared],
install : true,
install_dir : udevlibexecdir)