libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

0014-Support-llvm-objdump-f-output.patch (1639B)


      1 From 03dabb6a70847761e65572a2a7b770a3b1b9f123 Mon Sep 17 00:00:00 2001
      2 From: =?UTF-8?q?Mateusz=20Miku=C5=82a?= <mati865@gmail.com>
      3 Date: Mon, 12 Apr 2021 23:44:10 +0200
      4 Subject: [PATCH] Support llvm-objdump -f output
      5 
      6 ---
      7  build-aux/ltmain.in | 2 +-
      8  m4/libtool.m4       | 2 +-
      9  2 files changed, 2 insertions(+), 2 deletions(-)
     10 
     11 diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
     12 index a9f070a..4a434cc 100644
     13 --- a/build-aux/ltmain.in
     14 +++ b/build-aux/ltmain.in
     15 @@ -3019,7 +3019,7 @@ func_win32_libid ()
     16    *ar\ archive*) # could be an import, or static
     17      # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD.
     18      if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
     19 -       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
     20 +       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|coff-arm|coff-arm64|coff-i386|coff-x86-64)' >/dev/null; then
     21        case $nm_interface in
     22        "MS dumpbin")
     23  	if func_cygming_ms_implib_p "$1" ||
     24 diff --git a/m4/libtool.m4 b/m4/libtool.m4
     25 index 21a7d60..594be9c 100644
     26 --- a/m4/libtool.m4
     27 +++ b/m4/libtool.m4
     28 @@ -3473,7 +3473,7 @@ mingw* | pw32*)
     29      lt_cv_file_magic_cmd='func_win32_libid'
     30    else
     31      # Keep this pattern in sync with the one in func_win32_libid.
     32 -    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     33 +    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64|coff-arm|coff-arm64|coff-i386|coff-x86-64)'
     34      lt_cv_file_magic_cmd='$OBJDUMP -f'
     35    fi
     36    ;;
     37 -- 
     38 2.31.1
     39