Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22663 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24026 invoked by uid 1010); 4 Apr 2006 08:20:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24011 invoked from network); 4 Apr 2006 08:20:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Apr 2006 08:20:34 -0000 X-Host-Fingerprint: 212.55.202.210 host-210.bitflux.ch Linux 2.5 (sometimes 2.4) (4) Received: from ([212.55.202.210:46288] helo=devel.bitflux.ch) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 75/56-19347-05C22344 for ; Tue, 04 Apr 2006 04:20:32 -0400 Received: from localhost (localhost [127.0.0.1]) by devel.bitflux.ch (Postfix) with ESMTP id 68EC6E7349; Tue, 4 Apr 2006 10:20:25 +0200 (CEST) Received: from devel.bitflux.ch ([127.0.0.1]) by localhost (devel.bitflux.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07080-04-3; Tue, 4 Apr 2006 10:20:24 +0200 (CEST) Received: from [192.168.84.101] (host-195.bitflux.ch [212.55.202.195]) by devel.bitflux.ch (Postfix) with ESMTP id 339A5E7344; Tue, 4 Apr 2006 10:20:24 +0200 (CEST) Message-ID: <44322C47.6050701@bitflux.ch> Date: Tue, 04 Apr 2006 10:20:23 +0200 Organization: Bitflux GmbH User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060216) MIME-Version: 1.0 To: Andrei Zmievski CC: PHPdev References: <442FCADA.8040908@bitflux.ch> <4431F583.4010003@bitflux.ch> <25898376-E7B7-47C7-8349-B119E69618C1@gravitonic.com> In-Reply-To: <25898376-E7B7-47C7-8349-B119E69618C1@gravitonic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at bitflux.ch Subject: Re: [PHP-DEV] shared library suffixes From: christian.stocker@bitflux.ch (Christian Stocker) On 4.4.2006 8:37 Uhr, Andrei Zmievski wrote: > 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 If I change PHP_SHLIB_BUILD_SUFFIX_NAME to PHP_BUILD_SHLIB_SUFFIX_NAME in acinclude.m4 line 1885 it works for me too (on OS X) chregu > > 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 -- christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich phone +41 44 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71 http://www.bitflux.ch | christian.stocker@bitflux.ch | GPG 0x5CE1DECB