[jigdo] Fix build by explicitly linking to libpthread

Toshio くらとみ toshio at fedoraproject.org
Wed Mar 6 22:16:14 UTC 2013


commit 11d765978e1e2dde4563000111e79b75c432b981
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Wed Mar 6 14:15:56 2013 -0800

    Fix build by explicitly linking to libpthread

 jigdo.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/jigdo.spec b/jigdo.spec
index 3679e22..a97f666 100644
--- a/jigdo.spec
+++ b/jigdo.spec
@@ -41,6 +41,7 @@ GTK2 frontend to jigdo.
 %patch2 -p1 -b .gcc43
 
 %build
+export LDFLAGS="$LDFLAGS -lpthread"
 %configure --with-libdb=-ldb
 make %{?_smp_mflags}
 
@@ -90,6 +91,7 @@ install -m 0755 scripts/jigdo-mirror $RPM_BUILD_ROOT%{_bindir}/jigdo-mirror
 %changelog
 * Wed Mar  6 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 0.7.3-17
 - Remove vendor prefix from desktop file for f19+ https://fedorahosted.org/fesco/ticket/1077
+- Fix build by explicitly linking to libpthread
 
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.3-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild


More information about the scm-commits mailing list