Skip to content

Commit 6ff335a

Browse files
committed
Refresh embed patch for PHP 8.5
1 parent 539f34c commit 6ff335a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/patches/8.5/0019-php-5.2.4-embed.patch

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Subject: php-5.2.4-embed
88

99
--- a/sapi/embed/config.m4
1010
+++ b/sapi/embed/config.m4
11-
@@ -12,7 +12,7 @@ if test "$PHP_EMBED" != "no"; then
12-
[yes|shared], [
13-
LIBPHP_CFLAGS="-shared"
14-
PHP_EMBED_TYPE=shared
11+
@@ -18,7 +18,7 @@ if test "$PHP_EMBED" != "no"; then
12+
SAPI_SHARED="libs/libphp.dylib"
13+
PHP_EMBED_TYPE=shared-dylib
14+
], [PHP_EMBED_TYPE=shared])
1515
- INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(orig_libdir); \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(orig_libdir)"
1616
+ INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(orig_libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(orig_libdir)"
1717
],

0 commit comments

Comments
 (0)