Alexey Volkov wrote:

Hello everybody.

Here is some kind of a [proposed] patch to fix charset(1) and dotlocking(2) issues in the tin-1.6.2-1

[SNIP]
diff -urbN tin-1.6.2-1/src/Makefile.in tin-1.6.2-1-patched/src/Makefile.in
--- tin-1.6.2-1/src/Makefile.in 2003-08-10 19:27:36.000000000 +0600
+++ tin-1.6.2-1-patched/src/Makefile.in 2003-11-28 00:20:36.000000000 +0500
@@ -65,6 +65,9 @@
 INTL_LIBS      = @INTLLIBS@
 PCRE_LIBS      = @PCREDIR_LIBS@ @PCREDIR_MAKE@ -L../pcre -lpcre
 LIBS           = $(PCRE_LIBS) $(CANLIB) @LIBS@ @INN_NNTPLIB@ $(INTL_LIBS)
+ifeq (@host_os@,cygwin)
+LIBS           = $(PCRE_LIBS) $(CANLIB) @LIBS@ @INN_NNTPLIB@ $(INTL_LIBS) -lkernel32

Adding -lkernel32 is not necessary because gcc's collect2 automatically passes this as an argument to ld during the link stage when building a native cygwin binary. See the "*lib:" line after invoking `gcc -dumpspecs` to see the libraries gcc automatically links in.


Cheers,
Nicholas



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



Reply via email to