Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14298 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72447 invoked by uid 1010); 6 Jan 2005 21:58:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 72014 invoked from network); 6 Jan 2005 21:58:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2005 21:58:44 -0000 X-Host-Fingerprint: 216.145.54.173 mrout3.yahoo.com Windows 98 (no sack) Received: from ([216.145.54.173:33025] helo=mrout3.yahoo.com) by pb1.pair.com (ecelerity HEAD (r4049:4050)) with SMTP id B5/58-30894-B74BDD14 for ; Thu, 06 Jan 2005 16:58:34 -0500 Received: from bourbon.corp.yahoo.com (bourbon.corp.yahoo.com [216.145.53.135]) by mrout3.yahoo.com (8.13.1/8.13.1/y.out) with ESMTP id j06LtFmm058500; Thu, 6 Jan 2005 13:55:15 -0800 (PST) Received: (from andrei@localhost) by bourbon.corp.yahoo.com (8.12.9/8.11.1) id j06LtFXr018517; Thu, 6 Jan 2005 13:55:15 -0800 (PST) (envelope-from andrei@gravitonic.com) X-Authentication-Warning: bourbon.corp.yahoo.com: andrei set sender to andrei@gravitonic.com using -f Date: Thu, 6 Jan 2005 13:55:15 -0800 To: Brad House Cc: internals@lists.php.net Message-ID: <20050106215514.GA18475@gravitonic.com> References: <41DB0A01.2000007@mainstreetsoftworks.com> <20050106212123.GA17621@gravitonic.com> <41DDAF00.50607@mainstreetsoftworks.com> <20050106214201.GA17784@gravitonic.com> <41DDB1D0.9030308@mainstreetsoftworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41DDB1D0.9030308@mainstreetsoftworks.com> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] PHP_SHLIB_SUFFIX not being properly set on MacOSX From: andrei@gravitonic.com (Andrei Zmievski) On Thu, 06 Jan 2005, Brad House wrote: > Are you sure we're talking about the same constant here. The one > in particular I'm talking about is 100% in the build system. I do > not believe it is exported as a define into the actual code... > Though I could be wrong. Yes. The PHP_SHLIB_SUFFIX_NAME macro figures out the actual suffix which gets substituted into main/build-defs.h.in and later defined as a constant in main.c. > Having PHP_SHLIB_SUFFIX is confusing though, as MacOSX differentiates > shared libraries and modules. > > shared libraries have a .dylib extension, while loadable modules > have a .so extension, and they are not interchangable :/ Very > odd. Yes, I realize that. Which is why I was saying that we should probably use separate constants for build system lib suffix and the extension one. - Andrei