public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Remi Collet <remi@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/php] private-php86: use LIBPHP_CFLAGS instead of EXTRA_LDFLAGS for embed
Date: Fri, 27 Nov 2026 07:33:47 GMT	[thread overview]
Message-ID: <179576482789.1.17128112085726550880.rpms-php-7702aa10c14d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/php
Branch : private-php86
Commit : 7702aa10c14d0a7f72228b9ea4204b223e3d958a
Author : Remi Collet <remi@fedoraproject.org>
Date   : 2025-06-05T07:33:30+02:00
Stats  : +9/-4 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/php/c/7702aa10c14d0a7f72228b9ea4204b223e3d958a?branch=private-php86

Log:
use LIBPHP_CFLAGS instead of EXTRA_LDFLAGS for embed

---
diff --git a/php-8.4.6-embed.patch b/php-8.4.6-embed.patch
index b926b67..829a535 100644
--- a/php-8.4.6-embed.patch
+++ b/php-8.4.6-embed.patch
@@ -1,12 +1,17 @@
 diff -up ./sapi/embed/config.m4.embed ./sapi/embed/config.m4
---- ./sapi/embed/config.m4.embed	2025-03-26 07:14:03.223791152 +0100
-+++ ./sapi/embed/config.m4	2025-03-26 07:16:43.185955159 +0100
-@@ -15,7 +15,8 @@ if test "$PHP_EMBED" != "no"; then
+--- ./sapi/embed/config.m4.embed	2025-06-03 18:29:26.000000000 +0200
++++ ./sapi/embed/config.m4	2025-06-05 07:18:33.662824247 +0200
+@@ -10,12 +10,12 @@ AC_MSG_CHECKING([for embedded SAPI libra
+ if test "$PHP_EMBED" != "no"; then
+   AS_CASE([$PHP_EMBED],
+     [yes|shared], [
+-      LIBPHP_CFLAGS="-shared"
++      LIBPHP_CFLAGS="-shared -release \$(PHP_MAJOR_VERSION).\$(PHP_MINOR_VERSION)"
+       AS_CASE(["$host_alias"], [*darwin*], [
          SAPI_SHARED="libs/libphp.dylib"
          PHP_EMBED_TYPE=shared-dylib
        ], [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)\$(orig_libdir); \$(LIBTOOL) --mode=install \$(INSTALL) -m 0755 \$(OVERALL_TARGET) \$(INSTALL_ROOT)\$(orig_libdir)"
      ],
      [static], [

                 reply	other threads:[~2026-11-27  7:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179576482789.1.17128112085726550880.rpms-php-7702aa10c14d@fedoraproject.org \
    --to=remi@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox