Skip to contentSkip to conversation

heirloom-mailx: disable static build

PATCH New Baruch Siach 2 participants 2 messages Nov 23, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 heirloom-mailx: disable static build

heirloom-mailx implements its own version of getopt() that collides with the C library when linking statically.

Fixes:
http://autobuild.buildroot.net/results/f67/f67eb63a9a8bb25fb0c071f1aac271e9798d95d1/
http://autobuild.buildroot.net/results/722/722f65c4fcc093d6a6a2200c06b2ecb3ee35bc06/
http://autobuild.buildroot.net/results/1cc/1cce267cc4b0a7d6bf5ff10f5429ae7dfe96960a/

---
 package/heirloom-mailx/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/heirloom-mailx/Config.in +5 -0
index ca83dc365d1e..a2521ef6639c 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_HEIRLOOM_MAILX
 	bool "heirloom-mailx"
 	# uses fork()
 	depends on BR2_USE_MMU
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  Heirloom mailx (previously known as nail) is a mail user
 	  agent for Unix systems.
@@ -13,3 +14,7 @@ config BR2_PACKAGE_HEIRLOOM_MAILX
 	  cram-md5), SMTPS, MIME encoding of attachements, and more.
 
 	  http://heirloom.sourceforge.net/mailx.html
+
+comment "heirloom-mailx needs a toolchain w/ dynamic library"
+	depends on BR2_PREFER_STATIC_LIB
+	depends on BR2_USE_MMU
Signature · 1 line
2.1.3
#1 lore raw

PATCH 1/1 heirloom-mailx: disable static build

Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

heirloom-mailx implements its own version of getopt() that collides with the C library when linking statically.

Fixes:
http://autobuild.buildroot.net/results/f67/f67eb63a9a8bb25fb0c071f1aac271e9798d95d1/
http://autobuild.buildroot.net/results/722/722f65c4fcc093d6a6a2200c06b2ecb3ee35bc06/
http://autobuild.buildroot.net/results/1cc/1cce267cc4b0a7d6bf5ff10f5429ae7dfe96960a/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard