bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Handling of runpaths


From: Jeffrey Walton
Subject: Handling of runpaths
Date: Fri, 17 Jul 2020 12:27:27 -0400

Hi Everyone,

I noticed my runpaths are re-ordered in libraries like
libgettextsrc.so, libtextstyle.so, libgettextpo.so, libgettextlib.so,
libgettextlib.so, libintl.so and libunistring.so. For example, I use
LDFLAGS of:

    -Wl,-runpath,'$ORIGIN/../lib' -Wl,-runpath,$(prefix)/lib
-Wl,--enable-new-dtags

Later, when I audit the runpaths, I see the following (when building
OpenSSH and dependencies for /opt/ssh):

    RUNPATH: /opt/ssh/lib:$ORIGIN/../lib

Notice the ordering has been changed.

Is the re-ordering of runpaths expected?

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]