mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-29 16:54:51 +02:00
Link libssh into compat tests.
The cygwin compat code uses xmalloc, so add libssh.a so pick up that.
This commit is contained in:
parent
ec59effcf6
commit
3500f0405a
@ -10,6 +10,7 @@ CFLAGS=@CFLAGS@
|
|||||||
CPPFLAGS=-I. -I.. -I../.. -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. @CPPFLAGS@ @DEFS@
|
CPPFLAGS=-I. -I.. -I../.. -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. @CPPFLAGS@ @DEFS@
|
||||||
EXEEXT=@EXEEXT@
|
EXEEXT=@EXEEXT@
|
||||||
LIBCOMPAT=../libopenbsd-compat.a
|
LIBCOMPAT=../libopenbsd-compat.a
|
||||||
|
LIBSSH=../../libssh.a
|
||||||
LIBS=@LIBS@ @CHANNELLIBS@
|
LIBS=@LIBS@ @CHANNELLIBS@
|
||||||
LDFLAGS=@LDFLAGS@ $(LIBCOMPAT)
|
LDFLAGS=@LDFLAGS@ $(LIBCOMPAT)
|
||||||
|
|
||||||
@ -18,8 +19,8 @@ TESTPROGS=closefromtest$(EXEEXT) snprintftest$(EXEEXT) strduptest$(EXEEXT) \
|
|||||||
|
|
||||||
all: t-exec ${OTHERTESTS}
|
all: t-exec ${OTHERTESTS}
|
||||||
|
|
||||||
.c: $(LIBCOMPAT)
|
.c: $(LIBCOMPAT) $(LIBSSH)
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LIBCOMPAT) $(LIBS)
|
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LIBCOMPAT) $(LIBSSH) $(LIBS)
|
||||||
|
|
||||||
t-exec: $(TESTPROGS)
|
t-exec: $(TESTPROGS)
|
||||||
@echo running compat regress tests
|
@echo running compat regress tests
|
||||||
|
Loading…
x
Reference in New Issue
Block a user