mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emulation/libguestfs: Respect LDFLAGS in Perl module
Closes: https://bugs.gentoo.org/966948 Signed-off-by: Christopher Byrne <salah.coronya@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45353 Closes: https://github.com/gentoo/gentoo/pull/45353 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
683a12b88a
commit
e2df525803
@@ -0,0 +1,13 @@
|
||||
diff --git a/perl/Build.PL.in b/perl/Build.PL.in
|
||||
index abec96591..7da7606df 100755
|
||||
--- a/perl/Build.PL.in
|
||||
+++ b/perl/Build.PL.in
|
||||
@@ -66,7 +66,7 @@ my $build = Module::Build->new (
|
||||
],
|
||||
extra_linker_flags => [
|
||||
'-DGUESTFS_PRIVATE=1',
|
||||
- split (' ', '@CFLAGS@'),
|
||||
+ split (' ', '@LDFLAGS@'),
|
||||
'-L@top_builddir@/lib/.libs',
|
||||
'-lguestfs',
|
||||
],
|
||||
@@ -105,6 +105,7 @@ BDEPEND="
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.52.1-disable-obsolete-lvmetad-in-tests.patch"
|
||||
"${FILESDIR}/${PN}-1.56.2-respect-LDFLAGS-in-perl-module.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
|
||||
Reference in New Issue
Block a user