diff options
author | Remi Collet <remi@remirepo.net> | 2024-08-15 07:03:01 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-08-15 07:03:01 +0200 |
commit | f82647373090c39a87f6bca376f67dc28390a4bd (patch) | |
tree | 95fe657a654956929a2b020a7b3b4f7848a763ea /php-8.4.0-embed.patch | |
parent | 57efb290ebc99e9d925c368c6c3b33c3dc75d837 (diff) |
Update to 8.4.0beta3
Diffstat (limited to 'php-8.4.0-embed.patch')
-rw-r--r-- | php-8.4.0-embed.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/php-8.4.0-embed.patch b/php-8.4.0-embed.patch index fdb0477..ca4b403 100644 --- a/php-8.4.0-embed.patch +++ b/php-8.4.0-embed.patch @@ -2,14 +2,14 @@ diff -up ./sapi/embed/config.m4.embed ./sapi/embed/config.m4 --- ./sapi/embed/config.m4.embed 2024-07-03 16:17:17.973277200 +0200 +++ ./sapi/embed/config.m4 2024-07-03 16:19:32.224546927 +0200 @@ -12,7 +12,8 @@ if test "$PHP_EMBED" != "no"; then - yes|shared) + [yes|shared], [ LIBPHP_CFLAGS="-shared" PHP_EMBED_TYPE=shared - INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(orig_libdir); \$(INSTALL) -m 0755 $SAPI_SHARED \$(INSTALL_ROOT)\$(orig_libdir)" + EXTRA_LDFLAGS="$EXTRA_LDFLAGS -release \$(PHP_MAJOR_VERSION).\$(PHP_MINOR_VERSION)" + INSTALL_IT="\$(mkinstalldirs) \$(INSTALL_ROOT)\$(libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(libdir)" - ;; - static) + ], + [static], [ LIBPHP_CFLAGS="-static" diff -up ./scripts/php-config.in.embed ./scripts/php-config.in --- ./scripts/php-config.in.embed 2024-07-03 16:17:17.973277200 +0200 |