Subject: bug#23464: $ORIGIN not escaped as expected

From: Andrew Rynhard <[email-masked]>
Date: Thu, 05 May 2016 19:07:31 -0700

When using libtool with:
export LDFLAGS="-Wl,-rpath="'\$\$ORIGIN'"/../lib,--enable-new-dtags $LDFLAGS"
The RUNPATH is RIGN/../lib. On non libtool based projects I get $ORIGN/../lib as expected. Libtool should not output RIGN/../lib.