summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch')
-rw-r--r--meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
new file mode 100644
index 0000000000..b0114ba28b
--- /dev/null
+++ b/meta/recipes-devtools/ruby/ruby/0002-Obey-LDFLAGS-for-the-link-of-libruby.patch
@@ -0,0 +1,28 @@
1Upstream-Status: Pending
2
3From 306e95a9818d39d3349075aac9609e062b0f19ce Mon Sep 17 00:00:00 2001
4From: Christopher Larson <chris_larson@mentor.com>
5Date: Thu, 5 May 2016 10:59:07 -0700
6Subject: [PATCH 2/2] Obey LDFLAGS for the link of libruby
7
8Signed-off-by: Christopher Larson <chris_larson@mentor.com>
9---
10 Makefile.in | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/Makefile.in b/Makefile.in
14index 7da2488..5b4aea1 100644
15--- a/Makefile.in
16+++ b/Makefile.in
17@@ -75,7 +75,7 @@ EXTLIBS =
18 LIBS = @LIBS@ $(EXTLIBS)
19 MISSING = @LIBOBJS@ @ALLOCA@
20 LDSHARED = @LIBRUBY_LDSHARED@
21-DLDFLAGS = @LIBRUBY_DLDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
22+DLDFLAGS = @LIBRUBY_DLDFLAGS@ @LDFLAGS@ $(XLDFLAGS) $(ARCH_FLAG)
23 SOLIBS = @SOLIBS@
24 MAINLIBS = @MAINLIBS@
25 ARCHMINIOBJS = @MINIOBJS@
26--
272.8.0
28