1From 7f7facb85bd65adec24230fe8ca7f6a9863a1fd0 Mon Sep 17 00:00:00 2001
2From: Christopher Larson <chris_larson@mentor.com>
3Date: Thu, 5 May 2016 10:59:07 -0700
4Subject: [PATCH] Obey LDFLAGS for the link of libruby
5
6Signed-off-by: Christopher Larson <chris_larson@mentor.com>
7Upstream-Status: Pending
8---
9 template/Makefile.in | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/template/Makefile.in b/template/Makefile.in
13index 8c462f2..2200c8c 100644
14--- a/template/Makefile.in
15+++ b/template/Makefile.in
16@@ -115,7 +115,7 @@ ENABLE_SHARED = @ENABLE_SHARED@
17 LDSHARED = @LIBRUBY_LDSHARED@
18 DLDSHARED = @DLDSHARED@
19 XDLDFLAGS = @DLDFLAGS@
20-DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
21+DLDFLAGS = @LIBRUBY_DLDFLAGS@ @LDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
22 SOLIBS = @SOLIBS@
23 ENABLE_DEBUG_ENV = @ENABLE_DEBUG_ENV@
24 MAINLIBS = @MAINLIBS@
25