Patch to always make openbsd-compat

Dave Dykstra dwd at bell-labs.com
Fri Oct 19 04:06:57 EST 2001


I found that if I modify a source file in the openbsd-compat directory
and go to the top level and type "make", nothing happens.  Here's a patch
for portable OpenSSH to fix that.

- Dave Dykstra


--- Makefile.in.O	Thu Oct 18 13:57:22 2001
+++ Makefile.in	Thu Oct 18 13:57:45 2001
@@ -86,8 +86,9 @@
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $<
 
 LIBCOMPAT=openbsd-compat/libopenbsd-compat.a
-$(LIBCOMPAT): config.h
+$(LIBCOMPAT): always
 	(cd openbsd-compat; $(MAKE))
+always:
 
 libssh.a: $(LIBSSH_OBJS)
 	$(AR) rv $@ $(LIBSSH_OBJS)



More information about the openssh-unix-dev mailing list