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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to