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

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