Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/tvheadend: Fix static build
Date: Wed, 26 Aug 2015 15:09:00 +0200	[thread overview]
Message-ID: <20150826150900.7acf16e8@free-electrons.com> (raw)
In-Reply-To: <20150826123603.GA3699@free.fr>

Dear Yann E. MORIN,

On Wed, 26 Aug 2015 14:36:03 +0200, Yann E. MORIN wrote:

> > +ifeq ($(BR2_STATIC_LIBS),y)
> > +# remove hardcoded -ldl for static builds
> > +define TVHEADEND_FIX_MAKEFILE_FOR_STATIC_BUILD
> > +	$(SED) 's/-ldl -lpthread -lm/-lpthread -lm/' $(@D)/Makefile
> 
> Are you sure?
> 
> src/extra/capmt_ca.c uses dlsym() so it does need -ldl.

This file is not built by default, it's part of the extras.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2015-08-26 13:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25 21:18 [Buildroot] [PATCH v2 1/1] package/tvheadend: Fix static build Bernd Kuhls
2015-08-26 12:36 ` Yann E. MORIN
2015-08-26 13:09   ` Thomas Petazzoni [this message]
2015-08-26 13:20 ` Thomas Petazzoni
2015-08-26 14:58   ` Bernd Kuhls
2015-08-26 15:03     ` Thomas Petazzoni

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=20150826150900.7acf16e8@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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