From b47b55b3bc5c9f891974f3ee065441d98204e458 Mon Sep 17 00:00:00 2001 From: Richard Nyberg Date: Sun, 11 Jan 2009 23:01:31 +0100 Subject: [PATCH] Use the more compatible -R flag instead of -rpath when linking. --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 8dec82d..4dd1419 100644 --- a/configure.ac +++ b/configure.ac @@ -10,8 +10,10 @@ AC_PROG_RANLIB AC_ARG_WITH(openssl, [ --with-openssl=dir use openssl installed in dir], - AC_SUBST(openssl_LDFLAGS,["-L${withval}/lib -Wl,-rpath=${withval}/lib"]) - AC_SUBST(openssl_CPPFLAGS,"-I${withval}/include")) +[ + AC_SUBST(openssl_LDFLAGS,["-L${withval}/lib -Wl,-R,${withval}/lib"]) + AC_SUBST(openssl_CPPFLAGS,"-I${withval}/include") +]) AC_ARG_WITH(evloop-method, [ --with-evloop-method select evloop method (epoll,poll,kqueue)],