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
-lz -o simple simple.o ../src/libssh2.la
mkdir .libs
gcc -DLIBSSH2_DARWIN -I/usr/include -I/usr/include -o simple
simple.o -L/usr/lib ../src/.libs/libssh2.dylib -lcrypto -lz
make check-TESTS
dyld: Library not loaded: /usr/local/lib/libssh2.1.dylib
Referenced from: /Users/daniel/Desktop/libssh2/tests/./simple
Reason: image not found
FAIL: simple
Looks like a Darwin-related (hint, hint! ;-) bug to me.
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.