summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Strauss <david@davidstrauss.net>2013-02-07 01:23:59 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-02-07 01:28:16 -0500
commit78c55e2155b2badad23c3dc255fdc5b7823dda1a (patch)
tree16d0ce7f020ab8ffa8d528a1d397df29f10a67f3
parent42007a09f3a7fc82a40068eae5b616756b2fb401 (diff)
build-sys: add libsystemd-id128 as libudev dependency
After d848b9cbfa0 'Move generic specifier functions to shared' libudev depends (through) libsystemd-shared.la on libsystemd-id128.so. The problem only appears when the linker does not support --gc-sections and manifests itself as the inability to resolve sd_id128_get_machine and other libsystemd-id128 functions, which aren't really used.
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index e20bbcbb84..8f44f5d903 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1587,7 +1587,8 @@ libudev_la_LDFLAGS = \
-Wl,--version-script=$(top_srcdir)/src/libudev/libudev.sym
libudev_la_LIBADD = \
- libsystemd-shared.la
+ libsystemd-shared.la \
+ libsystemd-id128.la
pkgconfiglib_DATA += \
src/libudev/libudev.pc