summaryrefslogtreecommitdiffstats
path: root/src/libudev/meson.build
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-15 00:49:47 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-24 03:47:28 +0200
commitaac2605820859fe2908ba9adfcb96a65b2e375e5 (patch)
treee89fd0988b8e587108457e9c370d7017e2518f2b /src/libudev/meson.build
parentmeson: add rootprefix option (for Gentoo) (diff)
downloadsystemd-aac2605820859fe2908ba9adfcb96a65b2e375e5.tar.xz
systemd-aac2605820859fe2908ba9adfcb96a65b2e375e5.zip
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/libudev/meson.build')
-rw-r--r--src/libudev/meson.build11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/libudev/meson.build b/src/libudev/meson.build
index f7bd62e3dd..6c5ebebb7c 100644
--- a/src/libudev/meson.build
+++ b/src/libudev/meson.build
@@ -1,6 +1,6 @@
# -*- mode: meson -*-
-libudev_sources = '''
+libudev_sources = files('''
libudev-private.h
libudev-device-internal.h
libudev.c
@@ -12,7 +12,7 @@ libudev_sources = '''
libudev-monitor.c
libudev-queue.c
libudev-hwdb.c
-'''.split()
+'''.split())
############################################################
@@ -32,13 +32,6 @@ libudev = shared_library(
install : true,
install_dir : rootlibdir)
-libudev_internal = static_library(
- 'udev',
- libudev_sources,
- include_directories : includes,
- link_with : [libbasic,
- libsystemd])
-
install_headers('libudev.h')
libudev_h_path = '@0@/libudev.h'.format(meson.current_source_dir())