From: Darren Tucker Date: Thu, 3 Nov 2022 12:04:08 +0000 (+1100) Subject: Link libssh into compat tests. X-Git-Tag: V_9_2_P1~147 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3500f0405a3ab16b59a26f3508c4257a3fc3bce6;p=thirdparty%2Fopenssh-portable.git Link libssh into compat tests. The cygwin compat code uses xmalloc, so add libssh.a so pick up that. --- diff --git a/openbsd-compat/regress/Makefile.in b/openbsd-compat/regress/Makefile.in index f9946bcfb..6fabca849 100644 --- a/openbsd-compat/regress/Makefile.in +++ b/openbsd-compat/regress/Makefile.in @@ -10,6 +10,7 @@ CFLAGS=@CFLAGS@ CPPFLAGS=-I. -I.. -I../.. -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. @CPPFLAGS@ @DEFS@ EXEEXT=@EXEEXT@ LIBCOMPAT=../libopenbsd-compat.a +LIBSSH=../../libssh.a LIBS=@LIBS@ @CHANNELLIBS@ LDFLAGS=@LDFLAGS@ $(LIBCOMPAT) @@ -18,8 +19,8 @@ TESTPROGS=closefromtest$(EXEEXT) snprintftest$(EXEEXT) strduptest$(EXEEXT) \ all: t-exec ${OTHERTESTS} -.c: $(LIBCOMPAT) - $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LIBCOMPAT) $(LIBS) +.c: $(LIBCOMPAT) $(LIBSSH) + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $@ $< $(LIBCOMPAT) $(LIBSSH) $(LIBS) t-exec: $(TESTPROGS) @echo running compat regress tests