mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
(From OE-Core rev: dee97a3d3127eeba77bc6be05dea25f89aa734e5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
25 lines
748 B
Diff
25 lines
748 B
Diff
From c4ebb6d11d690185f66a3f0a591f193fd6611122 Mon Sep 17 00:00:00 2001
|
|
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
Date: Tue, 27 Nov 2018 15:37:40 +0100
|
|
Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl
|
|
|
|
Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/122]
|
|
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
|
---
|
|
Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 4b80079..c6d6042 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -191,7 +191,7 @@ endif
|
|
|
|
ifeq ($(useshrplib),true)
|
|
$(LIBPERL):
|
|
- $(CC) $(LDDLFLAGS) -o $@ $(filter %$o,$^) $(LIBS)
|
|
+ $(CC) $(LDFLAGS) $(LDDLFLAGS) -o $@ $(filter %$o,$^) $(LIBS)
|
|
else
|
|
$(LIBPERL):
|
|
$(AR) cru $@ $(filter %$o,$^)
|