package/pppd: requires DES support in openssl
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 12 Jun 2021 21:47:20 +0000 (23:47 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 13 Jun 2021 07:29:24 +0000 (09:29 +0200)
Enable DES in openssl to fix build failure raised since commit
a83d41867c8d69a77d5cd0a665aa216af5340359

Fixes:
 - http://autobuild.buildroot.org/results/3cd38e6dfd5f94f0bd1689e7db4ea1d723dd2a80

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: only select it for glibc toolchains]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/pppd/Config.in

index 7db5674bf1b1f21c1272827d675156125859d9ba..66c935abb14454efdbee860dbfefd5e8a8e29251 100644 (file)
@@ -4,6 +4,8 @@ config BR2_PACKAGE_PPPD
        depends on !BR2_TOOLCHAIN_USES_MUSL # Use __P() macro all over the tree
        depends on BR2_USE_MMU
        select BR2_PACKAGE_OPENSSL if BR2_TOOLCHAIN_USES_GLIBC
+       select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL \
+                                                && BR2_TOOLCHAIN_USES_GLIBC
        help
          An implementation of the Point-to-point protocol.