blob: 6c3f08c4324ab6accb98ed14336727b5d8fa07f6 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From f824cbec9ac8f113a4ae35d57bd18625d415a71b Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 27 Nov 2018 15:37:40 +0100
4Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl
5
Andrew Geissler595f6302022-01-24 19:11:47 +00006Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/122]
Brad Bishop19323692019-04-05 15:28:33 -04007Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 Makefile | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/Makefile b/Makefile
13index 01644cd..be811a7 100644
14--- a/Makefile
15+++ b/Makefile
16@@ -180,7 +180,7 @@ endif
17
18 ifeq ($(useshrplib),true)
19 $(LIBPERL):
20- $(CC) $(LDDLFLAGS) -o $@ $(filter %$o,$^) $(LIBS)
21+ $(CC) $(LDFLAGS) $(LDDLFLAGS) -o $@ $(filter %$o,$^) $(LIBS)
22 else
23 $(LIBPERL):
24 $(AR) cru $@ $(filter %$o,$^)
25--
262.17.1
27