[player] Add libpthread to be linked explicitly so that build succeeds

Toshio くらとみ toshio at fedoraproject.org
Wed Mar 6 23:55:05 UTC 2013


commit 00f46501d220cb03f5b71257d9f5057fcf99d4fe
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Wed Mar 6 15:54:53 2013 -0800

    Add libpthread to be linked explicitly so that build succeeds

 player.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/player.spec b/player.spec
index 5e83f74..f61808b 100644
--- a/player.spec
+++ b/player.spec
@@ -149,6 +149,7 @@ find . -name '*.cpp' -exec chmod -x {} \;
 find . -name '*.h' -exec chmod -x {} \;
 
 %build
+export LDFLAGS="%{?__global_ldflags} -lpthread"
 %cmake %{?_cmake_skip_rpath} -DBUILD_DOCUMENTATION=ON -DBUILD_PLAYERCC=ON -DSWIG_EXECUTABLE=/usr/bin/swig -DBUILD_PLAYERCC_BOOST=ON -DBUILD_PYTHONC_BINDINGS=ON -DBUILD_PYTHONCPP_BINDINGS=ON -DBUILD_EXAMPLES=ON -DBUILD_RUBYCPP_BINDINGS=ON -DBoost_USE_MULTITHREAD=ON -DUNICAP_DIR=/usr  -DRUBY_BINDINGS_INSTALL_DIR=%{ruby_vendorarchdir} .
 make
 make doc
@@ -236,6 +237,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Wed Mar  6 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 3.0.2-28
 - Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
+- Add libpthread to be linked explicitly so that build succeeds
 
 * Wed Mar 06 2013 Devrim GÜNDÜZ <devrim at gunduz.org> - 3.0.2-27
 - Rebuild with new geos.


More information about the scm-commits mailing list