Skip to contentSkip to conversation

libkrb5: needs dynamic library support

PATCH New Baruch Siach 3 participants 3 messages Apr 4, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libkrb5: needs dynamic library support

Even though the configure script checks for the presence of dlfcn.h, the code includes this header unconditionally.

Fixes:
http://autobuild.buildroot.net/results/0e1/0e19af38d74aa74919a11ff1ebdb3b8c1a494b33/

Cc Andr? Hentschel <[email protected]>
---
 package/libkrb5/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/libkrb5/Config.in +5 -0
index 9147c9048924..f6af7130f0f2 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBKRB5
 	bool "libkrb5"
 	# needs fork()
 	depends on BR2_USE_MMU
+	depends on !BR2_STATIC_LIBS
 	help
 	  Kerberos is a system for authenticating users and services
 	  on a network. Kerberos is a trusted third-party service.
@@ -11,3 +12,7 @@ config BR2_PACKAGE_LIBKRB5
 	  reference implementation of Kerberos V5.
 
 	  https://web.mit.edu/kerberos/
+
+comment "apache needs a toolchain w/ dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_STATIC_LIBS
Signature · 1 line
2.16.3
#1 lore raw

PATCH 1/1 libkrb5: needs dynamic library support

Hello,

Quoted 1 line · Baruch Siach

+comment "apache needs a toolchain w/ dynamic library"

Copy/paste error: this is a patch on libkrb5, not on apache :-)

Applied to master after fixing this. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 libkrb5: needs dynamic library support

In reply to Baruch Siach

Am 04.04.2018 um 09:49 schrieb Baruch Siach:

Quoted 26 lines

Even though the configure script checks for the presence of dlfcn.h, the code includes this header unconditionally.

Fixes:
http://autobuild.buildroot.net/results/0e1/0e19af38d74aa74919a11ff1ebdb3b8c1a494b33/

Cc Andr? Hentschel <[email protected]>
---
 package/libkrb5/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/libkrb5/Config.in +1 -0
index 9147c9048924..f6af7130f0f2 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_LIBKRB5
 	bool "libkrb5"
 	# needs fork()
 	depends on BR2_USE_MMU
+	depends on !BR2_STATIC_LIBS
 	help
 	  Kerberos is a system for authenticating users and services
 	  on a network. Kerberos is a trusted third-party service.

package/libkrb5/Config.in config BR2_PACKAGE_LIBKRB5 · line 18

Quoted 7 lines
package/libkrb5/Config.in +4 -0
@@ -11,3 +12,7 @@ config BR2_PACKAGE_LIBKRB5
 	  reference implementation of Kerberos V5.
 
 	  https://web.mit.edu/kerberos/
+
+comment "apache needs a toolchain w/ dynamic library"
+	depends on BR2_USE_MMU
+	depends on BR2_STATIC_LIBS

Thanks!
apache is wrong though :)