Add win32 library search path.
authorNick Clifton <nickc@redhat.com>
Wed, 18 Dec 2002 16:56:19 +0000 (16:56 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 18 Dec 2002 16:56:19 +0000 (16:56 +0000)
ld/ChangeLog
ld/configure.host

index d88bc88f7f0ab42a53d04bd58d72a628efad6451..d2a7ce989af41aa56552eb2fbe1de3e634d75057 100644 (file)
@@ -3,6 +3,8 @@
        * ld.texinfo: Add win32 machine depending section.
        * gen-doc.texi: Enable win32 machine depending section.
 
+       * configure.host: Add win32 library search path.
+
 2002-12-17  Ralf Habacker  <ralf.habacker@freenet.de>
 
        * ld/emultempl/pe.em (pe_find_data_imports): Don't search for data
index 4c93c1000ea7e3cbc5e2ee435ba6c0d7dcc29899..e4c298a88083f27a3ecb14e7eea36bcb038c90e8 100644 (file)
@@ -124,7 +124,7 @@ i[3456]86-pc-interix*)
   ;;
 
 i[3456]86-*-cygwin*)
-  HOSTING_LIBS="$HOSTING_LIBS"' -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`'
+  HOSTING_LIBS="$HOSTING_LIBS"' -lcygwin -L/usr/lib/w32api -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`'
   ;;
 
 ia64-*-linux-gnu*)