diff options
| author | JackBoosY <47264268+JackBoosY@users.noreply.github.com> | 2019-03-06 02:51:50 +0800 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-03-05 10:51:50 -0800 |
| commit | fd2330af7af3c8b523bec5e3de8fdbaf7ed75f5e (patch) | |
| tree | a02400c18a5b236fce71ec49ffa5df857e6dd96f /ports/mosquitto/fix-dependence-pthreads.patch | |
| parent | 140e2733f7fd2e6db5fe57834db3bdb3485d8236 (diff) | |
| download | vcpkg-fd2330af7af3c8b523bec5e3de8fdbaf7ed75f5e.tar.gz vcpkg-fd2330af7af3c8b523bec5e3de8fdbaf7ed75f5e.zip | |
[pthreads]Modify library name "pthreadsVC2" to correct name "pthreadVC2" (#5532)
* [Pthreads]Modify library name "pthreadsVC2" to correct name "pthreadVC2".
* [pthreads]update Version
* [flint]fix dependence port pthreads library name to "pthreadVC2".
* [usbmuxd]fix dependence port pthreads library name to "pthreadVC2".
* [mosquitto]fix dependence port pthreads library name to "pthreadVC2".
Diffstat (limited to 'ports/mosquitto/fix-dependence-pthreads.patch')
| -rw-r--r-- | ports/mosquitto/fix-dependence-pthreads.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ports/mosquitto/fix-dependence-pthreads.patch b/ports/mosquitto/fix-dependence-pthreads.patch new file mode 100644 index 000000000..d21786646 --- /dev/null +++ b/ports/mosquitto/fix-dependence-pthreads.patch @@ -0,0 +1,13 @@ +diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
+index 6355eaa..490df32 100644
+--- a/lib/CMakeLists.txt
++++ b/lib/CMakeLists.txt
+@@ -6,7 +6,7 @@ option(WITH_THREADING "Include client library threading support?" ON)
+ if (${WITH_THREADING} STREQUAL ON)
+ add_definitions("-DWITH_THREADING")
+ if (WIN32)
+- find_library(PTHREAD_LIBRARIES NAMES pthreadsVC2)
++ find_library(PTHREAD_LIBRARIES NAMES pthreadVC2)
+ find_path(PTHREAD_INCLUDE_DIR pthread.h)
+ else (WIN32)
+ find_library(LIBPTHREAD pthread)
|
