Re: PHP_SHLIB_SUFFIX not being properly set on MacOSX

From: Date: Thu, 06 Jan 2005 21:55:15 +0000
Subject: Re: PHP_SHLIB_SUFFIX not being properly set on MacOSX
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-14298@lists.php.net to get a copy of this message
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

« previous php.internals (#14298) next »