[EMAIL PROTECTED] wrote:
URL: http://svn.apache.org/viewvc?rev=608842&view=rev Log: Correct syntax of linker flag for gcc. Modified: tomcat/connectors/trunk/jni/native/build/tcnative.m4 *linux*) - TCN_OPENSSL_LIBS="-L$use_openssl/lib --Wl,-rpath,$use_openssl/lib -lssl -lcrypto" + TCN_OPENSSL_LIBS="-L$use_openssl/lib -Wl,-rpath,$use_openssl/lib -lssl -lcrypto"
Not sure why but linux links (libtool --mode=link) with those flags without any problem. However the APR says: - use the `-Wl,--rpath -Wl,LIBDIR' linker flag So, what's correct? --Wl,-rpath,<path> -Wl,-rpath,<path> -Wl,--rpath,<path> or -Wl,--rpath -Wl,<path> Regards, Mladen --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]