summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorRichard Nyberg <rnyberg@murmeldjur.se>2009-01-11 23:01:31 +0100
committerRichard Nyberg <rnyberg@murmeldjur.se>2009-01-11 23:01:31 +0100
commitb47b55b3bc5c9f891974f3ee065441d98204e458 (patch)
tree897091b1210a7f9099b78f57ea04c7fd637c00c7 /configure.ac
parentb854501973525b5c5ff0b440c0e86bbb849834e9 (diff)
downloadbtpd-b47b55b3bc5c9f891974f3ee065441d98204e458.tar.gz
btpd-b47b55b3bc5c9f891974f3ee065441d98204e458.zip
Use the more compatible -R flag instead of -rpath when linking.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
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)],