about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 98a97278824c..bb2f7ac14234 100644
--- a/configure.ac
+++ b/configure.ac
@@ -103,7 +103,7 @@ if test -z "$bdb"; then
   bdb_lib='-L${top_builddir}/externals/inst-bdb/lib -ldb_cxx'
   bdb_include='-I${top_builddir}/externals/inst-bdb/include'
 else
-  bdb_lib="-L$bdb/lib -Wl,-rpath,$bdb/lib -ldb_cxx"
+  bdb_lib="-L$bdb/lib -ldb_cxx"
   bdb_include="-I$bdb/include"
 fi
 AC_SUBST(bdb_lib)
@@ -117,7 +117,7 @@ if test -z "$aterm"; then
   aterm_lib='-L${top_builddir}/externals/inst-aterm/lib -lATerm'
   aterm_include='-I${top_builddir}/externals/inst-aterm/include'
 else
-  aterm_lib="-L$aterm/lib -Wl,-rpath,$aterm/lib -lATerm"
+  aterm_lib="-L$aterm/lib -lATerm"
   aterm_include="-I$aterm/include"
 fi
 AC_SUBST(aterm_lib)