mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-libs/libsmbios: prune insecure RPATH from smbios-sys-info-lite
Closes: https://bugs.gentoo.org/380105 Signed-off-by: Marek Szuba <marecki@gentoo.org>
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
Instead of producing a static binary, this causes libtool to inject one
|
||||
of the build directories into RPATH.
|
||||
|
||||
--- a/src/bin/Makefile.am
|
||||
+++ b/src/bin/Makefile.am
|
||||
@@ -65,7 +65,6 @@
|
||||
sbin_PROGRAMS += out/smbios-sys-info-lite
|
||||
out_smbios_sys_info_lite_SOURCES = src/bin/smbios-sys-info-lite.c
|
||||
out_smbios_sys_info_lite_LDADD = out/libsmbios_c.la out/libgetopt.la $(AM_LDADD)
|
||||
-out_smbios_sys_info_lite_LDFLAGS = $(AM_LDFLAGS) -static
|
||||
|
||||
sbin_PROGRAMS += out/smbios-get-ut-data
|
||||
out_smbios_get_ut_data_SOURCES = src/bin/smbios-get-ut-data.c
|
||||
@@ -32,6 +32,7 @@ DEPEND="${RDEPEND}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.2.28-cppunit-tests.patch"
|
||||
"${FILESDIR}/${PN}-2.4.3-avoid_bashisms.patch" #715202
|
||||
"${FILESDIR}/${PN}-2.4.3-insecure_rpaths.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
Reference in New Issue
Block a user