SHA256
8
0
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:
Ismail Dönmez
2015-06-24 10:05:05 +00:00
committed by Git OBS Bridge
parent 4c65062e62
commit 427f2b5c96
3 changed files with 18 additions and 0 deletions

11
cpprest-pthread.patch Normal file
View 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)