oss-sec mailing list archives

Re: Perl 5.32.0 mishandling of rpath and runpath tokens


From: Jeffrey Walton <noloader () gmail com>
Date: Mon, 20 Jul 2020 04:33:11 -0400

On Mon, Jul 20, 2020 at 4:21 AM Jeffrey Walton <noloader () gmail com> wrote:
...
Building on Linux or Solaris with LDFLAGS that includes a rpath or runpath:

    -Wl,-R,$ORIGIN/../lib -Wl,-R,$HOME/tmp/ok2delete/lib

My bad... It does not matter how this $ORIGIN token is quoted. Perl
always expands it.

My preferred quoting is a single quote: '$ORIGIN/../lib'. But an
escaped quote does not work either: "\$ORIGIN/../lib".

Jeff


Current thread: