overriding libdir?

2006-04-12 Thread Tyler MacDonald
I'm trying to get automake/libtool to allow me to install a library into PHP's extension directory. This directory isn't in the same prefix as the library directory my application's libraries will end up in, and is determined by running "php-config --extension-dir" I've tried overriding "libdir" i

Re: overriding libdir?

2006-04-12 Thread Olly Betts
On 2006-04-12, Tyler MacDonald <[EMAIL PROTECTED]> wrote: > I'm trying to ion-diret automake/libtool to allow me to install a library into > PHP's extension directory. phpextdir = `$(PHP_CONFIG) --extension-dir` phpext_LTLIBRARIES = php_mod_bt.la You probably also want to remove the .la file this

Re: overriding libdir?

2006-04-12 Thread Tyler MacDonald
Olly Betts <[EMAIL PROTECTED]> wrote: > phpextdir = `$(PHP_CONFIG) --extension-dir` > phpext_LTLIBRARIES = php_mod_bt.la > > You probably also want to remove the .la file this installs: > > install-data-hook: > rm -f $(DESTDIR)$(phpextdir)/xapian.la > Works perfect! :) Thanks!

Re: overriding libdir?

2006-04-12 Thread Ralf Wildenhues
Hi Olly, * Olly Betts wrote on Thu, Apr 13, 2006 at 12:53:53AM CEST: > > phpextdir = `$(PHP_CONFIG) --extension-dir` > phpext_LTLIBRARIES = php_mod_bt.la > > You probably also want to remove the .la file this installs: Why do you want to do that? This in an honest question; let's fix the bugs