diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-03-31 23:57:35 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-03-31 23:57:35 +0200 |
commit | 575d4712e1c4305acdba74e1af9277114ce99883 (patch) | |
tree | 34a1991bb39719d363e91b2207ec2d29e1bf841f /package/systemd/systemd.mk | |
parent | f4a5eed474c561557b0c21a05682ed9585c6c60a (diff) |
systemd: fix build on uClibc
Patch based on similar patch in openembedded.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/systemd/systemd.mk')
-rw-r--r-- | package/systemd/systemd.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/systemd/systemd.mk b/package/systemd/systemd.mk index fc49f3c7f..eded47208 100644 --- a/package/systemd/systemd.mk +++ b/package/systemd/systemd.mk @@ -41,6 +41,9 @@ else SYSTEMD_CONF_OPT += --disable-acl endif +# mq_getattr needs -lrt +SYSTEMD_MAKE_OPT += LIBS=-lrt + define SYSTEMD_INSTALL_INIT_HOOK ln -fs ../bin/systemd $(TARGET_DIR)/sbin/init ln -fs ../bin/systemctl $(TARGET_DIR)/sbin/halt |