yann@1: Goes with ../glibc-2.3.2/glibc-2.3.2-cygwin.patch yann@1: yann@1: If you apply the above patch, but forget this one, you get a cryptic error yann@1: .../bin/../x86_64-unknown-linux-gnu/sys-root/usr/lib64/: file not recognized: Is a directory yann@1: when linking with -lpthread, because the generated libpthread.so yann@1: is missing a filename yann@1: yann@1: by dank@kegel.com, 2004 Mar 30 yann@1: yann@1: yann@1: --- glibc-linuxthreads-2.3.2/linuxthreads/Makefile.old Tue Mar 30 10:33:12 2004 yann@1: +++ glibc-linuxthreads-2.3.2/linuxthreads/Makefile Tue Mar 30 10:33:24 2004 yann@1: @@ -114,7 +114,7 @@ yann@1: install: $(inst_libdir)/libpthread.so yann@1: $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \ yann@1: $(objpfx)libpthread.so$(libpthread.so-version) \ yann@1: - $(inst_libdir)/$(patsubst %,$(libtype.oS),\ yann@1: + $(inst_libdir)/$(patsubst %,$(libtype.oST),\ yann@1: $(libprefix)pthread) \ yann@1: $(+force) yann@1: (echo '/* GNU ld script';\ yann@1: @@ -122,7 +122,7 @@ yann@1: echo ' the static library, so try that secondarily. */';\ yann@1: cat $<; \ yann@1: echo 'GROUP ( $(slibdir)/libpthread.so$(libpthread.so-version)' \ yann@1: - '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)pthread)'\ yann@1: + '$(libdir)/$(patsubst %,$(libtype.oST),$(libprefix)pthread)'\ yann@1: ')' \ yann@1: ) > $@.new yann@1: mv -f $@.new $@