Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From f824cbec9ac8f113a4ae35d57bd18625d415a71b Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Tue, 27 Nov 2018 15:37:40 +0100 |
| 4 | Subject: [PATCH] perl-cross: add LDFLAGS when linking libperl |
| 5 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 6 | Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/122] |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 8 | --- |
| 9 | Makefile | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/Makefile b/Makefile |
| 13 | index 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 | -- |
| 26 | 2.17.1 |
| 27 | |