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