Newsgroups: php.internals
Path: news.php.net
Xref: news.php.net php.internals:119599
Return-Path: <max+php@blarg.de>
Delivered-To: mailing list internals@lists.php.net
Received: (qmail 94142 invoked from network); 23 Feb 2023 09:19:19 -0000
Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5)
  by pb1.pair.com with SMTP; 23 Feb 2023 09:19:19 -0000
Received: from php-smtp4.php.net (localhost [127.0.0.1])
	by php-smtp4.php.net (Postfix) with ESMTP id 04BD5180548
	for <internals@lists.php.net>; Thu, 23 Feb 2023 01:19:18 -0800 (PST)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,SPF_HELO_NONE,
	SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no
	version=3.4.2
X-Spam-ASN: AS24940 138.201.0.0/16
X-Spam-Virus: No
X-Envelope-From: <max+php@blarg.de>
Received: from swift.blarg.de (swift.blarg.de [138.201.185.127])
	by php-smtp4.php.net (Postfix) with ESMTP
	for <internals@lists.php.net>; Thu, 23 Feb 2023 01:19:17 -0800 (PST)
Received: from swift.blarg.de (swift.blarg.de [IPv6:2a01:4f8:c17:52a8::2])
	(Authenticated sender: max)
	by swift.blarg.de (Postfix) with ESMTPSA id 83F5D4118A;
	Thu, 23 Feb 2023 10:19:15 +0100 (CET)
Date: Thu, 23 Feb 2023 10:19:14 +0100
To: Peter Kokot <petk@php.net>
Cc: internals@lists.php.net
Message-ID: <Y/cvkszZ4TulI5Wl@swift.blarg.de>
References: <Y/YOZhB/usBGnIQ5@swift.blarg.de>
 <Y/YVIGSxttDVSNTl@swift.blarg.de>
 <CAAfnsFXEhZrm1NYRnv4VORw=pTaZOgNe0+LiBidPNp33EFFYNA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAAfnsFXEhZrm1NYRnv4VORw=pTaZOgNe0+LiBidPNp33EFFYNA@mail.gmail.com>
Subject: Re: [PHP-DEV] LDFLAGS broken?
From: max+php@blarg.de (Max Kellermann)

On 2023/02/22 22:09, Peter Kokot <petk@php.net> wrote:
> If removal would fix some bug, then probably it is time to remove
> them and see where things break afterwards.

Observe the output of PHP's "./configure --help":

 "Some influential environment variables:
  [...]
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>"

LDFLAGS is not just a convention, but is explicitly documented for
PHP, but it doesn't work, so this is clearly a bug.