From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions
Date: Fri, 2 Aug 2019 16:41:12 +0200 [thread overview]
Message-ID: <20190802144112.GA18760@scaer> (raw)
In-Reply-To: <20190802134044.22094-1-peter@korsgaard.com>
Peter, All,
On 2019-08-02 15:40 +0200, Peter Korsgaard spake thusly:
> 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>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> 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 \
> --
> 2.11.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2019-08-02 14:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-02 13:40 [Buildroot] [PATCH] package/imagemagick: fix host build for old distributions Peter Korsgaard
2019-08-02 14:41 ` Yann E. MORIN [this message]
2019-08-02 14:48 ` Yann E. MORIN
2019-08-02 17:47 ` Peter Korsgaard
2019-08-29 21:08 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190802144112.GA18760@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox