Ticket #61464: build-libtool.m4.diff

File build-libtool.m4.diff, 1.2 KB (added by kirmorozov (Kirill Morozov), 4 years ago)

Working patch for php 7.3 and 7.4

  • build/libtool.m4

    diff --git a/build/libtool.m4 b/build/libtool.m4
    index 099a879935..1faed63a8c 100644
    a b AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ 
    340340     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    341341   10.[[012]]*)
    342342     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
    343    10.*)
     343   *)
    344344     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    345345      esac
    346346    ;;
    darwin* | rhapsody*) 
    15211521  shlibpath_var=DYLD_LIBRARY_PATH
    15221522  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    15231523  ifelse([$1], [],[
    1524   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
     1524  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
    15251525  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    15261526  ;;
    15271527
    _LT_EOF 
    57995799             10.[[012]])
    58005800               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
    58015801               ;;
    5802              10.*)
     5802             *)
    58035803               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
    58045804               ;;
    58055805           esac