PHP_SHLIB_SUFFIX and OS X
| From: | Andrei Zmievski | Date: | Fri, 29 Oct 2004 21:55:20 +0000 |
| Subject: | PHP_SHLIB_SUFFIX and OS X | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-13606@lists.php.net to get a copy of this message | ||
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