mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
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>
This commit is contained in:
parent
651524db3a
commit
273427f928
@ -176,6 +176,9 @@ HOST_IMAGEMAGICK_CONF_OPTS = \
|
|||||||
--with-png \
|
--with-png \
|
||||||
--with-zlib
|
--with-zlib
|
||||||
|
|
||||||
|
# uses clock_gettime, which was provided by librt in glibc < 2.17
|
||||||
|
HOST_IMAGEMAGICK_CONF_ENV = LIBS="-lrt"
|
||||||
|
|
||||||
HOST_IMAGEMAGICK_DEPENDENCIES = \
|
HOST_IMAGEMAGICK_DEPENDENCIES = \
|
||||||
host-libjpeg \
|
host-libjpeg \
|
||||||
host-libpng \
|
host-libpng \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user