From: Wouter Wijngaards Date: Tue, 24 Mar 2009 14:55:34 +0000 (+0000) Subject: rpath for ldns if needed X-Git-Tag: release-1.3.0~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a87d222547eb4e974640765364ef851b71633f8b;p=thirdparty%2Funbound.git rpath for ldns if needed git-svn-id: file:///svn/unbound/trunk@1553 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/configure b/configure index 19c04379e..61773ca61 100755 --- a/configure +++ b/configure @@ -27152,6 +27152,9 @@ if test "${with_ldns+set}" = set; then withval=$with_ldns; specialldnsdir="$withval" CPPFLAGS="-I$withval/include $CPPFLAGS" LDFLAGS="-L$withval -L$withval/lib $LDFLAGS" + if test "x$enable_rpath" = xyes; then + RUNTIME_PATH="$RUNTIME_PATH -R$withval/lib" + fi ldnsdir="$withval" diff --git a/configure.ac b/configure.ac index b279c71c6..49a39cdcb 100644 --- a/configure.ac +++ b/configure.ac @@ -413,6 +413,9 @@ AC_ARG_WITH(ldns, AC_HELP_STRING([--with-ldns=PATH], [ specialldnsdir="$withval" CPPFLAGS="-I$withval/include $CPPFLAGS" LDFLAGS="-L$withval -L$withval/lib $LDFLAGS" + if test "x$enable_rpath" = xyes; then + RUNTIME_PATH="$RUNTIME_PATH -R$withval/lib" + fi ldnsdir="$withval" AC_SUBST(ldnsdir) ])