Skip to content
Snippets Groups Projects
Commit 6b2c2d66 authored by Simon McVittie's avatar Simon McVittie
Browse files

build: Fix the linker option to select RPATH in preference to RUNPATH


This is not a -z sub-option, so this never worked. Previously we didn't
notice this because official pressure-vessel releases are built on
Steam Runtime 1 'scout', which is so old that it can't generate RUNPATHs
anyway.

As described in the comment, we genuinely do want RPATHs and not
RUNPATHs for the relocatable installation.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 414a3004
No related branches found
No related tags found
1 merge request!794Build system simplifications
Pipeline #118089 passed
......@@ -218,7 +218,7 @@ add_project_link_arguments(
# for both direct and indirect dependencies: in particular we need
# to pick up the whole GLib family (GLib, GObject, GIO) from the same
# location. (It also bypasses LD_LIBRARY_PATH.)
'-Wl,-z,--disable-new-dtags',
'-Wl,--disable-new-dtags',
),
language : 'c',
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment