diff --git a/ChangeLog b/ChangeLog
index 5152d1cc3fee2f24580fa13256bdc0be30d736bc..ffb1109fb22a042bd86bbc447dab0656bd4fac29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
+2011-06-09  Niels M�ller  <nisse@lysator.liu.se>
+
+	* configure.ac (LIBNETTLE_LINK, LIBHOGWEED_LINK): Cygwin fix, from
+	Vincent Torri.
+
 2011-06-08  Niels M�ller  <nisse@lysator.liu.se>
 
+	* serpent-encrypt.c (SBOX4): Renamed arguments.
+
 	* examples/eratosthenes.c (find_first_one): Fixed c99-style
 	declaration. Reported by Sebastian Reitenbach.
 	(find_first_one): Declare the lookup table as static const, and
diff --git a/configure.ac b/configure.ac
index dd0185e25dd52d4916e9ed9927a5096f6196bf98..8dcc08099bbaf863a472fe6335c7c70c9c975ed7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -254,13 +254,13 @@ case "$host_os" in
     LIBNETTLE_FORLINK='cygnettle-$(LIBNETTLE_MAJOR)-$(LIBNETTLE_MINOR).dll'
     LIBNETTLE_SONAME=''
     LIBNETTLE_FILE='libnettle.dll.a'
-    LIBNETTLE_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBNETTLE_LIBFILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
+    LIBNETTLE_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBNETTLE_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
     LIBNETTLE_LIBS='-Wl,--no-whole-archive $(LIBS)'
 
     LIBHOGWEED_FORLINK='cyghogweed-$(LIBHOGWEED_MAJOR)-$(LIBHOGWEED_MINOR).dll'
     LIBHOGWEED_SONAME=''
     LIBHOGWEED_FILE='libhogweed.dll.a'
-    LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBHOGWEED_LIBFILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
+    LIBHOGWEED_LINK='$(CC) $(LDFLAGS) -shared -Wl,--out-implib=$(LIBHOGWEED_FILE) -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--whole-archive'
     LIBHOGWEED_LIBS='-Wl,--no-whole-archive $(LIBS)'
     ;;
   darwin*)