Blame SOURCES/0002-Fix-rpath-link-command-line-options.patch

c34203
From a8611f5dc19e2c31b810fd2baa31b9cb5fd30d2a Mon Sep 17 00:00:00 2001
c34203
From: Andreas Arnez <arnez@linux.ibm.com>
c34203
Date: Tue, 19 Feb 2019 19:20:19 +0100
c34203
Subject: [PATCH 2/8] Fix -rpath-link command line options
c34203
c34203
The "-rpath-link" command line options were written in the wrong syntax,
c34203
causing errors in the build.  This is fixed.
c34203
---
c34203
 makes/Make.lib | 8 ++++----
c34203
 1 file changed, 4 insertions(+), 4 deletions(-)
c34203
c34203
diff --git a/makes/Make.lib b/makes/Make.lib
c34203
index 4ceff02..b322a32 100644
c34203
--- a/makes/Make.lib
c34203
+++ b/makes/Make.lib
c34203
@@ -47,11 +47,11 @@ cshared : fat_cshared
c34203
 #
c34203
 LDTRY_WIN:
c34203
 	$(LD) $(LDFLAGS) -shared -soname $(LIBINSTdir)/$(outso) -o $(outso) \
c34203
-           -rpath-link $(LIBINSTdir) --output-def=$(outdef) \
c34203
+           -rpath-link=$(LIBINSTdir) --output-def=$(outdef) \
c34203
            --whole-archive $(libas) --no-whole-archive $(LIBS)
c34203
 GCCTRY_WIN:
c34203
 	$(GOODGCC) -shared -o $(outso) -Wl,--output-def=$(outdef) \
c34203
-           -Wl,"-rpath-link $(LIBINSTdir)" \
c34203
+           -Wl,"-rpath-link=$(LIBINSTdir)" \
c34203
            -Wl,--whole-archive $(libas) -Wl,--no-whole-archive $(LIBS)
c34203
 GCCTRY_norp_WIN:
c34203
 	$(GOODGCC) -shared -o $(outso) -Wl,--output-def=$(outdef) \
c34203
@@ -113,7 +113,7 @@ TRYALL_WIN :
c34203
 #
c34203
 LDTRY:
c34203
 	$(LD) $(LDFLAGS) -shared -soname $(LIBINSTdir)/$(outso) -o $(outso) \
c34203
-           -rpath-link $(LIBINSTdir)  \
c34203
+           -rpath-link=$(LIBINSTdir)  \
c34203
            --whole-archive $(libas) --no-whole-archive $(LIBS)
c34203
 GCCTRY:
c34203
 	$(GOODGCC) -shared -o $(outso).$(so_ver)  \