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 - 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 - 3.0.2-27 - Rebuild with new geos.