Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
rdesktop
> rdesktop-1.7.0-lib64.dif
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File rdesktop-1.7.0-lib64.dif of Package rdesktop
--- configure.ac.orig 2011-04-28 21:30:14.801000017 +0200 +++ configure.ac 2011-04-28 21:33:54.258000015 +0200 @@ -50,6 +50,9 @@ ]) rpath="" +libcryptodir="" + +LIBS="$LIBS -L$libdir" # # OpenSSL detection borrowed from stunnel @@ -96,14 +99,26 @@ dnl Add OpenSSL includes and libraries CFLAGS="$CFLAGS -I$ssldir/include" + +if test -f "$ssldir/lib/libcrypto.so"; then + libcryptodir="$ssldir/lib/" +elif test -f "$ssldir/lib64/libcrypto.so"; then + libcryptodir="$ssldir/lib64/" +else + echo + echo "Couldn't find your OpenSSL library installation dir" + echo + exit 1 +fi + AC_ARG_ENABLE(static-openssl, [ --enable-static-openssl link OpenSSL statically], [ -LIBS="$LIBS $ssldir/lib/libcrypto.a" +LIBS="$LIBS $libcryptodir/libcrypto.a" ], [ -LIBS="$LIBS -L$ssldir/lib -lcrypto" -rpath="$rpath:$ssldir/lib" +LIBS="$LIBS -L$libcryptodir -lcrypto" +rpath="$rpath:$libcryptodir" ]) # xrandr if test -n "$PKG_CONFIG"; then