[Buildroot] [PATCH v2 1/1] package/tvheadend: Fix static build
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Aug 26 13:09:00 UTC 2015
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
More information about the buildroot
mailing list