forked from pool/cpprest
- Add cpprest-pthread.patch to fix unit test linking
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/cpprest?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
0b1e48d100
commit
6ae552016b
11
cpprest-pthread.patch
Normal file
11
cpprest-pthread.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
Index: x/Release/tests/common/UnitTestpp/CMakeLists.txt
|
||||
===================================================================
|
||||
--- x.orig/Release/tests/common/UnitTestpp/CMakeLists.txt
|
||||
+++ x/Release/tests/common/UnitTestpp/CMakeLists.txt
|
||||
@@ -49,4 +49,4 @@ elseif(WIN32)
|
||||
endif()
|
||||
|
||||
add_library(${LIB}unittestpp ${UT_SOURCES})
|
||||
-target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS})
|
||||
\ No newline at end of file
|
||||
+target_link_libraries(${LIB}unittestpp ${ANDROID_STL_FLAGS} pthread)
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 24 10:04:53 UTC 2015 - idonmez@suse.com
|
||||
|
||||
- Add cpprest-pthread.patch to fix unit test linking
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 12 09:00:49 UTC 2015 - astieger@suse.com
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ License: Apache-2.0
|
||||
Group: Devlopment/Libraries/C and C++
|
||||
Url: https://casablanca.codeplex.com/
|
||||
Source: http://download-codeplex.sec.s-msft.com/Download/SourceControlFileDownload.ashx?ProjectName=casablanca&changeSetId=c7d85ee385c6#/%{name}-%{version}.zip
|
||||
Patch1: cpprest-pthread.patch
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake >= 2.6
|
||||
BuildRequires: gcc-c++
|
||||
@@ -63,6 +64,7 @@ Development files.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
%cmake -DCMAKE_BUILD_TYPE=Release ../Release
|
||||
|
||||
Reference in New Issue
Block a user