Re: Passing arguments to the compiler
| From: | Pierre Joye | Date: | Tue, 23 Jun 2009 14:01:30 +0000 |
| Subject: | Re: Passing arguments to the compiler | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-6496@lists.php.net to get a copy of this message | ||
hi,
On Tue, Jun 23, 2009 at 3:57 PM, Eric A.
Boney<mailinglists@vanhlebarsoftware.com> wrote:
> I need to pass an argument to the compiler that will contain the location of
> some standard libraries that my project uses. These libraries are found in
> /usr/include directories. Information that I have found indicates that I need
> to pass the -l/usr/include/kde argument.
Test if it is present and then use the PHP_ADD_INCLUDE macro.
For further details, see pecl and php extensions, there is plenty of examples.
Cheers,
--
Pierre
http://blog.thepimp.net | http://www.libgd.org