Re: [PHP-DEV] linking php extension to third party library

2001-08-23 Thread Shao Zhang
On [Thu, 23 Aug 2001 10:33:11 +0200 (CEST)], [EMAIL PROTECTED] (Jani Taskinen) wrote: > Just do what the macro does: > > LIBS="$LIBS /with/full/path/to/lib.a" > > ie. just don't add -l there. Thanks. I actually tried this before, and I got the following error: /bin/sh /work/3-sw/sm91-PHP/php-4.

[PHP-DEV] linking php extension to third party library

2001-08-23 Thread Shao Zhang
Hi, I need to link one of my php extension to a third party library. The library is named "lib.a", I cannot copy/rename this file as it is auto generated and shared by others. I can link my php extension to libfoo.a by adding this line to my config.m4: PHP_ADD_LIBRARY_WITH_PATH(foo, "/work/3-sw