diff options
author | Michael Biebl <biebl@debian.org> | 2017-04-21 18:32:14 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-24 19:25:33 -0400 |
commit | 0da6f396198d4977215945beea41f52a4c4dc3fb (patch) | |
tree | d1acecabb32192e0fa8caf8e691ed03c1d074ed5 /meson.build | |
parent | 26bd4b7f9c9bf1f789a57978ffd082784412d4d5 (diff) |
meson: allow static linking of systemd-hwdb
Various distros split udev and its helpers into a separate binary
package. In case of Debian this also includes systemd-hwdb.
In Debian, the udev package is not supposed to depend on systemd, so a
dependency on libsystemd-shared.so is not desired. Allow the
systemd-hwdb binary to be linked statically if link-udev-shared is set
to false.
Follow-up for 3a30f21ff8ddbef5eae61d6e4305ec1cd2e4e041.
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build index c808a8fc43..a4c93de21a 100644 --- a/meson.build +++ b/meson.build @@ -2018,8 +2018,8 @@ if conf.get('ENABLE_HWDB', 0) == 1 'src/hwdb/hwdb.c', 'src/libsystemd/sd-hwdb/hwdb-internal.h', include_directories : includes, - link_with : [libshared], - install_rpath : rootlibexecdir, + link_with : [libudev_internal], + install_rpath : udev_rpath, install : true, install_dir : rootbindir) public_programs += [exe] |