aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/elfutils/rpath-link.diff
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/elfutils/rpath-link.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/elfutils/rpath-link.diff')
-rw-r--r--vcpkg/ports/elfutils/rpath-link.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/vcpkg/ports/elfutils/rpath-link.diff b/vcpkg/ports/elfutils/rpath-link.diff
new file mode 100644
index 0000000..9db4533
--- /dev/null
+++ b/vcpkg/ports/elfutils/rpath-link.diff
@@ -0,0 +1,26 @@
+diff --git a/debuginfod/Makefile.am b/debuginfod/Makefile.am
+index db27b2a..b90ed23 100644
+--- a/debuginfod/Makefile.am
++++ b/debuginfod/Makefile.am
+@@ -58,7 +58,7 @@ endif
+ libebl = ../libebl/libebl.a
+ libeu = ../lib/libeu.a
+
+-AM_LDFLAGS = -Wl,-rpath-link,../libelf:../libdw:.
++AM_LDFLAGS = -Wl,-rpath-link,../libelf:../libdw:.:$(libdir)
+
+ bin_PROGRAMS =
+ if DEBUGINFOD
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 8e35512..33f7f4b 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -26,7 +26,7 @@ AM_CPPFLAGS += -I$(srcdir)/../libelf -I$(srcdir)/../libebl \
+ -I$(srcdir)/../libdwfl -I$(srcdir)/../libdwfl_stacktrace \
+ -I$(srcdir)/../libasm -I../debuginfod
+
+-AM_LDFLAGS = -Wl,-rpath-link,../libelf:../libdw $(STACK_USAGE_NO_ERROR)
++AM_LDFLAGS = -Wl,-rpath-link,../libelf:../libdw:$(libdir) $(STACK_USAGE_NO_ERROR)
+
+ bin_PROGRAMS = readelf nm size strip elflint findtextrel addr2line \
+ elfcmp objdump ranlib strings ar unstrip stack elfcompress \