Skip to contentSkip to conversation

package/lynx: depends on dynamic lib

PATCH New Mario Lang 2 participants 2 messages Feb 3, 2018

lore
Share & tools
lore

Mario Lang

author
#0 lore raw

PATCH v2 1/1 package/lynx: depends on dynamic lib

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

---
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(+)
package/lynx/Config.in +5 -0
index a338f83616..e1acc428be 100644
@@ -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
Signature · 1 line
2.15.1
#1 lore raw

PATCH v2 1/1 package/lynx: depends on dynamic lib

Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mario" == Mario Lang <[email protected]> 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?

Quoted 35 lines

---
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(+)
package/lynx/Config.in +5 -0
index a338f83616..e1acc428be 100644
@@ -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
Signature · 6 lines
2.15.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 1 line
Bye, Peter Korsgaard