From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libfreefare: Fix build on static
Date: Thu, 09 Jan 2014 11:27:50 +0100 [thread overview]
Message-ID: <87ha9dmoux.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1386267434-7144-1-git-send-email-Vincent.Riera@imgtec.com> (Vicente Olivert Riera's message of "Thu, 5 Dec 2013 18:17:14 +0000")
>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes:
> This patch makes this package building correctly on static.
> Fixes:
> http://autobuild.buildroot.net/results/f09/f09d515f0e7b6d78010f1ce624336ceaef624989/
> Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
> ---
> .../libfreefare-001-fix-static-build.patch | 10 ++++++++++
> 1 files changed, 10 insertions(+), 0 deletions(-)
> create mode 100644 package/libfreefare/libfreefare-001-fix-static-build.patch
> diff --git a/package/libfreefare/libfreefare-001-fix-static-build.patch b/package/libfreefare/libfreefare-001-fix-static-build.patch
> new file mode 100644
> index 0000000..31dfa30
> --- /dev/null
> +++ b/package/libfreefare/libfreefare-001-fix-static-build.patch
> @@ -0,0 +1,10 @@
> +--- libfreefare-0.3.4/examples/Makefile.am.orig 2013-12-05 17:08:16.058185440 +0000
> ++++ libfreefare-0.3.4/examples/Makefile.am 2013-12-05 17:14:02.270548090 +0000
> +@@ -2,6 +2,7 @@
> +
> + AM_CFLAGS = -I. -I$(top_srcdir)/libfreefare @LIBNFC_CFLAGS@
> + AM_LDFLAGS = @LIBNFC_LIBS@
> ++LIBS = -lcrypto -lz
Thanks, but it's nicer to just pass LIBS= to configure instead of
patching the Makefile.am (and running autoreconf).
As far as I can see from the autobuild error (and local testing), it's
only missing -lz, so I left out -lcrypto.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2014-01-09 10:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-05 18:17 [Buildroot] [PATCH] libfreefare: Fix build on static Vicente Olivert Riera
2013-12-05 18:51 ` Yann E. MORIN
2013-12-05 20:03 ` Yann E. MORIN
2014-01-09 10:27 ` Peter Korsgaard [this message]
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=87ha9dmoux.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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