summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Hsinyuan <me@lstlx.com>2024-12-09 04:21:05 +0100
committerDarren Tucker <dtucker@dtucker.net>2024-12-12 10:12:09 +0100
commit924f996144fc0ae1a659fadcfc2237d1ae935fc4 (patch)
tree5e9990d7f17d606f0717fb5191c34c81aa4345c9
parentupstream: replace bespoke logging of MaxSessions enforcement with (diff)
downloadopenssh-924f996144fc0ae1a659fadcfc2237d1ae935fc4.tar.xz
openssh-924f996144fc0ae1a659fadcfc2237d1ae935fc4.zip
Add $(srcdir) for standalone sk-libfido2 make target.
Fix out-of-tree build failure due to incorrect path for `sk-usbhid.c`.
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 1f2542ddf..01f3756a8 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -279,8 +279,8 @@ libssh-pic.a: $(LIBSSH_PIC_OBJS)
$(AR) rv $@ $(LIBSSH_PIC_OBJS)
$(RANLIB) $@
-$(SK_STANDALONE): sk-usbhid.c $(LIBCOMPAT) libssh-pic.a
- $(CC) -o $@ -shared $(CFLAGS_NOPIE) $(CPPFLAGS) -DSK_STANDALONE $(PICFLAG) sk-usbhid.c \
+$(SK_STANDALONE): $(srcdir)/sk-usbhid.c $(LIBCOMPAT) libssh-pic.a
+ $(CC) -o $@ -shared $(CFLAGS_NOPIE) $(CPPFLAGS) -DSK_STANDALONE $(PICFLAG) $(srcdir)/sk-usbhid.c \
libssh-pic.a $(LDFLAGS_NOPIE) -lopenbsd-compat $(LIBS) $(LIBFIDO2) $(CHANNELLIBS)
$(MANPAGES): $(MANPAGES_IN)