1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/glibc/linuxthreads-2.3.2/glibc-linuxthreads-2.3.2-cygwin.patch Sat Jun 02 15:50:45 2007 +0000
1.3 @@ -0,0 +1,30 @@
1.4 +Goes with ../glibc-2.3.2/glibc-2.3.2-cygwin.patch
1.5 +
1.6 +If you apply the above patch, but forget this one, you get a cryptic error
1.7 + .../bin/../x86_64-unknown-linux-gnu/sys-root/usr/lib64/: file not recognized: Is a directory
1.8 +when linking with -lpthread, because the generated libpthread.so
1.9 +is missing a filename
1.10 +
1.11 +by dank@kegel.com, 2004 Mar 30
1.12 +
1.13 +
1.14 +--- glibc-linuxthreads-2.3.2/linuxthreads/Makefile.old Tue Mar 30 10:33:12 2004
1.15 ++++ glibc-linuxthreads-2.3.2/linuxthreads/Makefile Tue Mar 30 10:33:24 2004
1.16 +@@ -114,7 +114,7 @@
1.17 + install: $(inst_libdir)/libpthread.so
1.18 + $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
1.19 + $(objpfx)libpthread.so$(libpthread.so-version) \
1.20 +- $(inst_libdir)/$(patsubst %,$(libtype.oS),\
1.21 ++ $(inst_libdir)/$(patsubst %,$(libtype.oST),\
1.22 + $(libprefix)pthread) \
1.23 + $(+force)
1.24 + (echo '/* GNU ld script';\
1.25 +@@ -122,7 +122,7 @@
1.26 + echo ' the static library, so try that secondarily. */';\
1.27 + cat $<; \
1.28 + echo 'GROUP ( $(slibdir)/libpthread.so$(libpthread.so-version)' \
1.29 +- '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)pthread)'\
1.30 ++ '$(libdir)/$(patsubst %,$(libtype.oST),$(libprefix)pthread)'\
1.31 + ')' \
1.32 + ) > $@.new
1.33 + mv -f $@.new $@