package/imagemagick: fix host build for old distributions
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>
(cherry picked from commit 273427f928
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
419af2f0ca
commit
d13cc2b4f2
@ -181,6 +181,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 \
|
||||
|
Loading…
Reference in New Issue
Block a user