* [Buildroot] [git commit] package/imagemagick: fix host build for old distributions
@ 2019-08-02 17:46 Peter Korsgaard
0 siblings, 0 replies; only message in thread
From: Peter Korsgaard @ 2019-08-02 17:46 UTC (permalink / raw)
To: buildroot
commit: https://git.buildroot.net/buildroot/commit/?id=273427f9286d0d0fd4c02cfd681f3a19bc045064
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes:
http://autobuild.buildroot.net/results/5f0/5f0b85033e800c9eebc46812592966ec6826bb5d/
imagemagick uses clock_gettime, which was provided by librt rather than libc
in glibc < 2.17 - Causing link errors.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
package/imagemagick/imagemagick.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index fff00fcfb1..3a37371e7b 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -176,6 +176,9 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
--with-png \
--with-zlib
+# uses clock_gettime, which was provided by librt in glibc < 2.17
+HOST_IMAGEMAGICK_CONF_ENV = LIBS="-lrt"
+
HOST_IMAGEMAGICK_DEPENDENCIES = \
host-libjpeg \
host-libpng \
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-02 17:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 17:46 [Buildroot] [git commit] package/imagemagick: fix host build for old distributions Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.