Skip to content

Commit d016434

Browse files
committed
Fixed bug #80393
Handle macos versions that don't start with 10.* in libtool. Patch by kir dot morozov at gmail dot com.
1 parent 39f95f5 commit d016434

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ PHP NEWS
1010
. Fixed bug #72964 (White space not unfolded for CC/Bcc headers). (cmb)
1111
. Fixed bug #80362 (Running dtrace scripts can cause php to crash).
1212
(al at coralnet dot name)
13+
. Fixed bug #80393 (Build of PHP extension fails due to configuration gap
14+
with libtool). (kir dot morozov at gmail dot com)
1315

1416
- Fileinfo:
1517
. Fixed bug #77961 (finfo_open crafted magic parsing SIGABRT). (cmb)

build/libtool.m4

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ 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
;;
@@ -1521,7 +1521,7 @@ 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
@@ -5799,7 +5799,7 @@ _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

0 commit comments

Comments
 (0)