summaryrefslogtreecommitdiff
path: root/src/shared/util.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-03 10:18:21 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-08-03 10:18:21 -0400
commit692ec7c998d5f889376686e4d83b696f1712e13e (patch)
treeb10d7991e897e7c85f3b7b6eb102fa16b470932f /src/shared/util.h
parent7eb942c4086c563ca08f1b94c974d896eedb2e64 (diff)
build-sys: link with librt if linking with libsd-daemon-int
In fba1ea0 'build: do not link everything with -lrt (and therefore -pthread)' librt was removed from the list of libraries. But libsd-daemon-internal also uses symbols from librt and librt must thus be added everywhere where libsd-daemon-interal is used, or otherwise linking might fail: /usr/bin/ld: ./.libs/libudev-core.a(sd-daemon.o): undefined reference to symbol 'mq_getattr@@GLIBC_2.3.4' /usr/bin/ld: note: 'mq_getattr@@GLIBC_2.3.4' is defined in DSO /lib64/librt.so.1 so try adding it to the linker command line
Diffstat (limited to 'src/shared/util.h')
0 files changed, 0 insertions, 0 deletions