Skip to contentSkip to conversation

dhcpcd: disable on static library builds

PATCH New Thomas Petazzoni 2 participants 2 messages Feb 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dhcpcd: disable on static library builds

dhcpcd uses dlopen(), so it is not compatible with pure static library builds.

Fixes:

http://autobuild.buildroot.net/results/512/51249e8d3487e17bb6a60a99dcbd461f7b591eac/

---
 package/dhcpcd/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)
package/dhcpcd/Config.in +6 -0
index ac20615..68eac1c 100644
@@ -3,7 +3,13 @@ config BR2_PACKAGE_DHCPCD
 	# No support for AI_ADDRCONFIG
 	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
 		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  An RFC2131 compliant DHCP client
 
 	  http://roy.marples.name/downloads/dhcpcd
+
+comment "dhcpcd needs a toolchain w/ dynamic library"
+	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 && \
+		!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R1
+	depends on BR2_PREFER_STATIC_LIB
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 dhcpcd: disable on static library builds

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

dhcpcd uses dlopen(), so it is not compatible with pure static library builds.

Fixes:

http://autobuild.buildroot.net/results/512/51249e8d3487e17bb6a60a99dcbd461f7b591eac/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard