mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-10-28 10:44:43 +08:00
Merge pull request #3025 from shadowsocks/fix/cares-static-lib-name
Fix static c-ares detection for c-ares >= 1.27
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -31,7 +31,7 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
mkdir -p build && cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_STATIC=OFF
|
||||
cmake .. -DCMAKE_BUILD_TYPE=Release
|
||||
make -j$(nproc 2>/dev/null || sysctl -n hw.ncpu)
|
||||
|
||||
- name: Unit tests
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ find_library(LIBMBEDTLS libmbedtls.a)
|
||||
find_library(LIBMBEDCRYPTO libmbedcrypto.a HINTS ${_MBEDTLS_LIB_DIR} NO_DEFAULT_PATH)
|
||||
find_library(LIBMBEDCRYPTO libmbedcrypto.a)
|
||||
find_library(LIBEV libev.a)
|
||||
find_library(LIBUDNS libcares.a)
|
||||
find_library(LIBUDNS NAMES libcares.a libcares_static.a)
|
||||
find_library(LIBPCRE2 libpcre2-8.a)
|
||||
|
||||
# Dependencies we need for static and shared
|
||||
|
||||
Reference in new issue
Block a user