aboutsummaryrefslogtreecommitdiffstats
path: root/main/slang/slang-2.2.3-slsh-libs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/slang/slang-2.2.3-slsh-libs.patch')
-rw-r--r--main/slang/slang-2.2.3-slsh-libs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/slang/slang-2.2.3-slsh-libs.patch b/main/slang/slang-2.2.3-slsh-libs.patch
new file mode 100644
index 0000000000..8f9ff468f5
--- /dev/null
+++ b/main/slang/slang-2.2.3-slsh-libs.patch
@@ -0,0 +1,11 @@
+--- ./slsh/Makefile.in
++++ ./slsh/Makefile.in
+@@ -80,7 +80,7 @@
+ $(OBJDIR)/slsh_exe: $(OBJDIR)/slsh.o $(OBJDIR)/readline.o
+ $(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh_exe $(LDFLAGS) $(SRC_LIBS)
+ $(OBJDIR)/slsh: $(OBJDIR)/slsh.o $(OBJDIR)/readline.o
+- $(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh $(LDFLAGS) $(INST_LIBS)
++ $(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh $(LDFLAGS) $(SRC_LIBS)
+ $(OBJDIR)/slsh.o: $(OBJDIR) slsh.c slsh.h config.h Makefile
+ cd $(OBJDIR) && $(CC) -c $(CFLAGS) $(SLANG_SRCINC) $(DEFS) $(SRCDIR)/slsh.c
+ $(OBJDIR)/readline.o: $(OBJDIR) readline.c slsh.h config.h Makefile