python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / slang / 0001-slsh-libs.patch
blobe8b6e6d223b7bf67593c78fd98285d47efba4482
1 Link against sources instead of installation paths that aren't DESTDIRed.
2 Patch taken from gentoo portage, upstream status unknown, author
3 probably Diego Pettenò.
5 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
7 --- a/slsh/Makefile.in
8 +++ b/slsh/Makefile.in
9 @@ -80,7 +80,7 @@
10 $(OBJDIR)/slsh_exe: $(OBJDIR)/slsh.o $(OBJDIR)/readline.o
11 $(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh_exe $(LDFLAGS) $(SRC_LIBS)
12 $(OBJDIR)/slsh: $(OBJDIR)/slsh.o $(OBJDIR)/readline.o
13 - $(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh $(LDFLAGS) $(INST_LIBS)
14 + $(CC) $(CFLAGS) $(OBJDIR)/slsh.o $(OBJDIR)/readline.o -o $(OBJDIR)/slsh $(LDFLAGS) $(SRC_LIBS)
15 $(OBJDIR)/slsh.o: $(OBJDIR) slsh.c slsh.h config.h Makefile
16 cd $(OBJDIR) && $(CC) -c $(CFLAGS) $(SLANG_SRCINC) $(DEFS) $(SRCDIR)/slsh.c
17 $(OBJDIR)/readline.o: $(OBJDIR) readline.c slsh.h config.h Makefile