projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
651524d
)
package/imagemagick: fix host build for old distributions
author
Peter Korsgaard
<peter@korsgaard.com>
Fri, 2 Aug 2019 13:40:44 +0000
(15:40 +0200)
committer
Peter Korsgaard
<peter@korsgaard.com>
Fri, 2 Aug 2019 17:46:40 +0000
(19:46 +0200)
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
patch
|
blob
|
history
diff --git
a/package/imagemagick/imagemagick.mk
b/package/imagemagick/imagemagick.mk
index fff00fcfb16dde2c7c2bc6aad2b34bf42243779f..3a37371e7b8786b8aa15994490fa5aa18e7627ca 100644
(file)
--- 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 \