blob: e7985036a037a727c265d5c1ccfe93481a6ef078 [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
6Upstream-Status: Pending
7Signed-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