- (bal) Minor Makefile.in tweak.  dirname may not exist on some
   platforms so builds fail.  (NeXT being a well known one)
diff --git a/ChangeLog b/ChangeLog
index 15fb0df..31eeb87 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@
  - (bal) Cygwin clean up by Corinna Vinschen <vinschen@redhat.com>
  - (bal) renamed queue.h to fake-queue.h (even if it's an OpenBSD
    based file) to ensure #include space does not get confused.
+ - (bal) Minor Makefile.in tweak.  dirname may not exist on some
+   platforms so builds fail.  (NeXT being a well known one)
 
 20010102
  - (bal) Makefile fix where sourcedir != builddir by Corinna Vinschen 
diff --git a/Makefile.in b/Makefile.in
index 52009f2..21ffb9b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -79,7 +79,7 @@
 
 LIBCOMPAT=openbsd-compat/libopenbsd-compat.a
 $(LIBCOMPAT): 
-	(cd `dirname $@`; $(MAKE))
+	(cd openbsd-compat; $(MAKE))
 
 libssh.a: $(LIBSSH_OBJS)
 	$(AR) rv $@ $(LIBSSH_OBJS)