Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit81a5702

Browse files
committed
Build: exclude OpenBSD from dynlinker for static SSL
Includes related refactoring.
1 parentf17d305 commit81a5702

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎libs/network/src/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@ target_link_libraries(cppnetlib-client-connections ${Boost_LIBRARIES} ${CMAKE_TH
4646
if (OPENSSL_FOUND)
4747
target_link_libraries(cppnetlib-client-connections${OPENSSL_LIBRARIES})
4848
if (CPP-NETLIB_STATIC_OPENSSL)
49-
if (NOTMSVCANDNOTMINGWANDNOT${CMAKE_SYSTEM_NAME}MATCHES"FreeBSD")# dynlinker functions are built into libc on FreeBSD
49+
if (${CMAKE_SYSTEM_NAME}MATCHES"FreeBSD"OR${CMAKE_SYSTEM_NAME}MATCHES"OpenBSD")
50+
set(BSDON)
51+
endif()
52+
if (NOTMSVCANDNOTMINGWANDNOTBSD)# dynlinker functions are built into libc on BSD
5053
target_link_libraries(cppnetlib-client-connections"-ldl")
5154
endif()
5255
endif()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp