diff options
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 |