mirror of
https://github.com/transmission/transmission
synced 2025-03-04 10:38:13 +00:00
fix: link libquota on NetBSD to fix FTBFS (#4863)
This commit is contained in:
parent
25b50a7dff
commit
62a60b4ea4
2 changed files with 6 additions and 0 deletions
|
@ -708,6 +708,11 @@ if(HAVE_LIBM)
|
|||
set(LIBM_LIBRARY m)
|
||||
endif()
|
||||
|
||||
check_library_exists(quota quotacursor_skipidtype "" HAVE_LIBQUOTA)
|
||||
if(HAVE_LIBQUOTA)
|
||||
set(LIBQUOTA_LIBRARY quota)
|
||||
endif()
|
||||
|
||||
set(TR_NETWORK_LIBRARIES)
|
||||
if(WIN32)
|
||||
list(APPEND TR_NETWORK_LIBRARIES iphlpapi ws2_32)
|
||||
|
|
|
@ -279,6 +279,7 @@ target_link_libraries(${TR_NAME}
|
|||
libb64::libb64
|
||||
${LIBINTL_LIBRARY}
|
||||
${LIBM_LIBRARY}
|
||||
${LIBQUOTA_LIBRARY}
|
||||
${TR_NETWORK_LIBRARIES}
|
||||
jsonsl
|
||||
utf8::cpp
|
||||
|
|
Loading…
Add table
Reference in a new issue