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
4c65062e62
commit
427f2b5c96
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)
|
||||
Reference in New Issue
Block a user