diff options
| author | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-01-11 23:01:31 +0100 |
|---|---|---|
| committer | Richard Nyberg <rnyberg@murmeldjur.se> | 2009-01-11 23:01:31 +0100 |
| commit | b47b55b3bc5c9f891974f3ee065441d98204e458 (patch) | |
| tree | 897091b1210a7f9099b78f57ea04c7fd637c00c7 | |
| parent | b854501973525b5c5ff0b440c0e86bbb849834e9 (diff) | |
| download | btpd-b47b55b3bc5c9f891974f3ee065441d98204e458.tar.gz btpd-b47b55b3bc5c9f891974f3ee065441d98204e458.zip | |
Use the more compatible -R flag instead of -rpath when linking.
| -rw-r--r-- | configure.ac | 6 |
1 files 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)], |