[Buildroot] [PATCH v2] package/lynx: depends on dynamic lib

Peter Korsgaard peter at korsgaard.com
Sat Feb 3 21:34:59 UTC 2018


>>>>> "Mario" == Mario Lang <mlang at blind.guru> writes:

 > This fixes the following autobuild errors:
 >   http://autobuild.buildroot.net/results/9a7b37264d592add75dd2a0f233a2de4eba4f489
 >   http://autobuild.buildroot.net/results/d3ecc533b5c5a33a9385e7f1f689ddf9bfa6fd43

Hmm, but this happens when building a host utility. The real problem
seems to be that src/chrtrans/makefile.in mixes up compiler flags for
the build and for the target - E.G. it uses LDFLAGS and BUILD_LDFLAGS,
and LDFLAGS contains --static.

How about fixing that instead?


 > Signed-off-by: Mario Lang <mlang at blind.guru>
 > ---
 > v2:
 >   * Add "depends on BR2_USE_MMU" to the comment
 >   * Reorder dependencies such that hardware deps come first

 >  package/lynx/Config.in | 5 +++++
 >  1 file changed, 5 insertions(+)

 > diff --git a/package/lynx/Config.in b/package/lynx/Config.in
 > index a338f83616..e1acc428be 100644
 > --- a/package/lynx/Config.in
 > +++ b/package/lynx/Config.in
 > @@ -1,9 +1,14 @@
 >  config BR2_PACKAGE_LYNX
 >  	bool "lynx"
 >  	depends on BR2_USE_MMU
 > +	depends on !BR2_STATIC_LIBS
 >  	select BR2_PACKAGE_SLANG if !BR2_PACKAGE_NCURSES
 >  	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_GNUTLS
 >  	help
 >  	  The Text Web-Browser.
 
 >  	  http://lynx.invisible-island.net/
 > +
 > +comment "lynx needs a toolchain w/ dynamic lib"
 > +	depends on BR2_USE_MMU
 > +	depends on BR2_STATIC_LIBS
 > -- 
 > 2.15.1

 > _______________________________________________
 > buildroot mailing list
 > buildroot at busybox.net
 > http://lists.busybox.net/mailman/listinfo/buildroot

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list