I need to compile openssh for leopard (10.5) on 10.6. but openssh has a dynamic link to libcrypto.0.9.8 which is not available on Leopard 10.5. The leopard version is 0.9.7. but somehow I can't link directly to 0.9.7. When I copy the 0.9.7 version to the root of openssh source, It doesn't compile.
Currently I'm building with these flags but no luck ...
./configure --with-ldflags="-mmacosx-version-min=10.5 -syslibroot/Developer/SDKs/MacOSX10.5.sdk"
after making and running otool -a binary still linked against libcrypto.0.9.8.dylib
any idea?