Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22662 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97243 invoked by uid 1010); 4 Apr 2006 06:37:26 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97228 invoked from network); 4 Apr 2006 06:37:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2006 06:37:26 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.5 (sometimes 2.4) (4) Received: from ([204.11.219.139:35569] helo=lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 00/14-19347-62412344 for ; Tue, 04 Apr 2006 02:37:26 -0400 Received: from [192.168.11.5] (c-24-6-96-18.hsd1.ca.comcast.net [24.6.96.18]) (authenticated bits=0) by lerdorf.com (8.13.6/8.13.6/Debian-1) with ESMTP id k346bJCO008877; Mon, 3 Apr 2006 23:37:19 -0700 In-Reply-To: <4431F583.4010003@bitflux.ch> References: <442FCADA.8040908@bitflux.ch> <4431F583.4010003@bitflux.ch> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: <25898376-E7B7-47C7-8349-B119E69618C1@gravitonic.com> Cc: PHPdev Content-Transfer-Encoding: 7bit Date: Mon, 3 Apr 2006 23:37:27 -0700 To: Christian Stocker X-Mailer: Apple Mail (2.746.2) Subject: Re: [PHP-DEV] shared library suffixes (was: iconv, OS X and .dylib) From: andrei@gravitonic.com (Andrei Zmievski) On Apr 3, 2006, at 9:26 PM, Christian Stocker wrote: > On 4.4.2006 3:40 Uhr, Andrei Zmievski wrote: >> The problem is that SHLIB_SUFFIX_NAME is used for both bundles >> (.so) and dynamic libraries (.dylib) on Mac OS X. These are >> separate entities and need to be treated separately. We could >> probably set SHLIB_SUFFIX_NAME to .dylib on OSX and introduce an >> additional variable, something like BUNDLE_SUFFIX_NAME and set it >> to .so. The problem is in main.c where it registers >> PHP_SHLIB_SUFFIX: which define should it use? > > BUNDLE_SUFFIX_NAME sounds fine to me. But can we please revert your > patch for 5.1.3? (Or introduce the proposed new variable). It > doesn't configure at all right now on OS X. Can people please try this patch: http://www.php.net/~andrei/shlib.diff It works on my Mac but we need to make sure it doesn't break build/dl () process for shared extensions on other platforms. -Andrei