[systemd-devel] bulid: linking order is irrelevant
Jan Engelhardt
jengelh at inai.de
Wed May 21 17:53:15 PDT 2014
commit ffcf82d250e95ea0a06a95d7adc72bfad6db51e3
Author: Kay Sievers <kay at vrfy.org>
Date: Thu May 22 09:41:32 2014 +0900
build-sys: fix linking order
./.libs/libsystemd-network.a(libsystemd_network_la-network-internal.o):
network-internal.c:function net_get_unique_predictable_data:
error: undefined reference to 'udev_device_get_property_value'
collect2: error: ld returned 1 exit status
Linking order is not a problem with .la files, as .la files track
their dependencies -- just like .so files.
If libsystemd-network.la is relying on that udev function, it ought
to specify libudev(-internal).la in libsystemd_network_la_LIBADD.
More information about the systemd-devel
mailing list