Re: Libtool fails to build working binary when -no-install is used

2007-04-10 Thread Ralf Wildenhues
* Peter O'Gorman wrote on Wed, Apr 04, 2007 at 12:06:58AM CEST: On Apr 3, 2007, at 4:44 PM, Ralf Wildenhues wrote: Do I understand correctly that Darwin has no way to hardcode library paths (other than the ones given by -install-name)? OK to apply and backport? It fixes the stresstest

Re: Libtool fails to build working binary when -no-install is used

2007-04-03 Thread Peter O'Gorman
On Apr 3, 2007, at 4:44 PM, Ralf Wildenhues wrote: Hi Peter, all, * quoting myself: * Simon Josefsson wrote on Thu, Mar 29, 2007 at 12:17:32PM CEST: /bin/sh ../libtool --tag=CC --mode=link gcc -DLIBSSH2_DARWIN -I/ usr/include -I/usr/include -no-install -L/usr/lib -lcrypto -L/usr/ lib

Re: Libtool fails to build working binary when -no-install is used

2007-04-03 Thread Simon Josefsson
On 3 apr 2007, at 23.44, Ralf Wildenhues wrote: Do I understand correctly that Darwin has no way to hardcode library paths (other than the ones given by -install-name)? OK to apply and backport? It fixes the stresstest failure exposed by my last patch. After some experiments and a lot of

Re: Libtool fails to build working binary when -no-install is used

2007-04-03 Thread Peter O'Gorman
On Apr 3, 2007, at 5:16 PM, Simon Josefsson wrote: On 3 apr 2007, at 23.44, Ralf Wildenhues wrote: Do I understand correctly that Darwin has no way to hardcode library paths (other than the ones given by -install-name)? OK to apply and backport? It fixes the stresstest failure exposed by

Libtool fails to build working binary when -no-install is used

2007-03-29 Thread Simon Josefsson
Hi! I'm tracking down what I believe is a libtool bug, or possibly a libtool documentation issue. In libssh2, a shared library, we have a hello world kind of self test that just invokes the library init/done function. The self test is linked to libssh2. The Makefile.am to build it is:

Re: Libtool fails to build working binary when -no-install is used

2007-03-29 Thread Ralf Wildenhues
Hi Simon, Thanks for the bug report. * Simon Josefsson wrote on Thu, Mar 29, 2007 at 12:17:32PM CEST: /bin/sh ../libtool --tag=CC --mode=link gcc -DLIBSSH2_DARWIN -I/ usr/include -I/usr/include -no-install -L/usr/lib -lcrypto -L/usr/lib -lz -o simple simple.o ../src/libssh2.la mkdir