[mingw-pthreads: 6/23] Create a symlink from libpthreadGC2.a to libpthread.a because of BZ #498616

Kalev Lember kalev at fedoraproject.org
Tue Mar 6 21:32:16 UTC 2012


commit 27c7c23874174ac7b31f4a46e4244f19cc5834c6
Author: epienbro <epienbro at fedoraproject.org>
Date:   Fri May 22 20:57:34 2009 +0000

    Create a symlink from libpthreadGC2.a to libpthread.a because of BZ #498616

 mingw32-pthreads.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/mingw32-pthreads.spec b/mingw32-pthreads.spec
index dcfbfc6..c5a27ed 100644
--- a/mingw32-pthreads.spec
+++ b/mingw32-pthreads.spec
@@ -9,7 +9,7 @@
 
 Name:           mingw32-pthreads
 Version:        2.8.0
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        MinGW pthread library
 
 %define crazy_version %(echo %{version}|tr . -)
@@ -91,6 +91,9 @@ install -m 0644 *.def $RPM_BUILD_ROOT%{_mingw32_bindir}
 install -m 0644 *.a $RPM_BUILD_ROOT%{_mingw32_libdir}
 install -m 0644 *.h $RPM_BUILD_ROOT%{_mingw32_includedir}
 
+# Create a symlink from libpthreadGC2.a to libpthread.a because of BZ #498616
+ln -s libpthreadGC2.a $RPM_BUILD_ROOT%{_mingw32_libdir}/libpthread.a
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -103,12 +106,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw32_bindir}/pthreadGC2.dll
 %{_mingw32_bindir}/pthreadGCE2.dll
 %{_mingw32_bindir}/pthread.def
+%{_mingw32_libdir}/libpthread.a
 %{_mingw32_libdir}/libpthreadGC2.a
 %{_mingw32_libdir}/libpthreadGCE2.a
 %{_mingw32_includedir}/*.h
 
 
 %changelog
+* Fri May 22 2009 Erik van Pienbroek <epienbro at fedoraproject.org> - 2.8.0-8
+- Create a symlink from libpthreadGC2.a to libpthread.a because of BZ #498616
+
 * Fri Mar 13 2009 Richard W.M. Jones <rjones at redhat.com> - 2.8.0-7
 - Move header files to system include directory.
 


More information about the mingw mailing list