@@ -89,11 +89,15 @@ fi ], [ if test "$cross_compiling" = 'yes'; then set_rpath='no' else - set_rpath='yes' + ifelse($1, [], [ + set_rpath='yes' + ], [ + set_rpath='$1' + ]) fi ]) if test "$set_rpath" = 'yes'; then OLD_LDFLAGS="$LDFLAGS"