Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13606 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96017 invoked by uid 1010); 29 Oct 2004 21:57:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 95992 invoked from network); 29 Oct 2004 21:57:01 -0000 Received: from unknown (HELO colo.lerdorf.com) (66.198.51.121) by pb1.pair.com with SMTP; 29 Oct 2004 21:57:01 -0000 Received: from [192.168.1.101] (c-67-168-91-4.client.comcast.net [67.168.91.4]) by colo.lerdorf.com (8.13.1/8.13.1/Debian-15) with ESMTP id i9TLutNa011557 for ; Fri, 29 Oct 2004 14:57:01 -0700 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-ID: <39F7BCBE-29F5-11D9-88E3-000D93B4252E@gravitonic.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: internals@lists.php.net Date: Fri, 29 Oct 2004 14:55:20 -0700 X-Mailer: Apple Mail (2.619) Subject: PHP_SHLIB_SUFFIX and OS X From: andrei@gravitonic.com (Andrei Zmievski) I've been trying to build PHP-GTK on OSX and ran into something. The GNU libtool can create shared libraries both with .so and .dylib extensions, depending on whether they are compiled as modules or libraries that can be linked against. If -module is specified for libtool, it'll link an .so library, and this option seems to be configured by default (i.e., I didn't do anything to specifically enable it during buildconf/configure stage). However, we define PHP_SHLIB_SUFFIX to always be .dylib on OSX and the portability of scripts breaks in this case. Any suggestions? -Andrei