]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libkrb5: needs dynamic library support
authorBaruch Siach <baruch@tkos.co.il>
Wed, 4 Apr 2018 07:49:24 +0000 (10:49 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 4 Apr 2018 16:02:08 +0000 (18:02 +0200)
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 <nerv@dawncrow.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libkrb5/Config.in

index 9147c90489243d18031be6daaae0762729eff3bb..2e24c87229619132a5b2fa117cf26bffc738a8bd 100644 (file)
@@ -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 "libkrb5 needs a toolchain w/ dynamic library"
+       depends on BR2_USE_MMU
+       depends on BR2_STATIC_LIBS