From: David Strauss Date: Thu, 7 Feb 2013 06:23:59 +0000 (-0500) Subject: build-sys: add libsystemd-id128 as libudev dependency X-Git-Tag: v198~329 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=78c55e2155b2badad23c3dc255fdc5b7823dda1a 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. --- diff --git a/Makefile.am b/Makefile.am index e20bbcbb8..8f44f5d90 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