]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/python/0032-Add-option-to-disable-the-hashlib-module.patch
lrzsz: install symlinks for XMODEM and YMODEM
[coffee/buildroot.git] / package / python / 0032-Add-option-to-disable-the-hashlib-module.patch
1 From f11dc326ae216911a67bd563b619f39522c14bf2 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 7 Mar 2017 22:33:02 +0100
4 Subject: [PATCH] Add option to disable the hashlib module
5
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 ---
8  configure.ac | 6 ++++++
9  1 file changed, 6 insertions(+)
10
11 diff --git a/configure.ac b/configure.ac
12 index 8dc573e..854724d 100644
13 --- a/configure.ac
14 +++ b/configure.ac
15 @@ -2840,6 +2840,12 @@ AC_ARG_ENABLE(ssl,
16              DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl"
17           fi])
18  
19 +AC_ARG_ENABLE(hashlib,
20 +       AS_HELP_STRING([--disable-hashlib], [disable hashlib]),
21 +       [ if test "$enableval" = "no"; then
22 +            DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _hashlib"
23 +         fi])
24 +
25  AC_ARG_ENABLE(bz2,
26         AS_HELP_STRING([--disable-bz2], [disable BZIP2]),
27         [ if test "$enableval" = "no"; then
28 -- 
29 2.7.4
30