slang-users mailing list

[2015 Date Index] [2015 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] [PATCH 3/3] Link against sources instead of installation paths that aren't DESTDIRed


Patch taken from gentoo portage, upstream status unknown, author
probably Diego Pettenò.

This patch is used at least by:

 - Gentoo
   https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/slang/files/slang-2.2.3-slsh-libs.patch

 - Buildroot
   http://git.buildroot.net/buildroot/tree/package/slang/0001-slsh-libs.patch

 - Alpine Linux
   http://git.alpinelinux.org/cgit/aports/plain/main/slang/slang-2.2.3-slsh-libs.patch

Signed-off-by: Gustavo Zacarias <gustavo@xxxxxxxxxxxxxxx>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@xxxxxxxxxxxxxxxxxx>
---
 slsh/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slsh/Makefile.in b/slsh/Makefile.in
index cb591c8..48ba3da 100644
--- a/slsh/Makefile.in
+++ b/slsh/Makefile.in
@@ -85,7 +85,7 @@ slsh: $(OBJDIR)/slsh
 $(OBJDIR)/slsh_exe: $(OBJDIR)/slsh.o $(OBJDIR)/readline.o
 	$(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh_exe $(LDFLAGS) $(DLINK_FLAGS) $(SRC_LIBS)
 $(OBJDIR)/slsh: $(OBJDIR)/slsh.o $(OBJDIR)/readline.o
-	$(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh $(LDFLAGS) $(DLINK_FLAGS) $(INST_LIBS)
+	$(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh $(LDFLAGS) $(DLINK_FLAGS) $(SRC_LIBS)
 $(OBJDIR)/slsh.o: $(OBJDIR) slsh.c slsh.h config.h Makefile
 	cd $(OBJDIR) && $(CC) $(SLANG_SRCINC) $(CFLAGS) -c $(DEFS) $(SRCDIR)/slsh.c
 $(OBJDIR)/readline.o: $(OBJDIR) readline.c slsh.h config.h Makefile
-- 
2.6.3

_______________________________________________
For list information, visit <http://jedsoft.org/slang/mailinglists.html>.


[2015 date index] [2015 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]