Fix certain non-GNU build configurations
All checks were successful
Alpine 3.19 Success

This commit is contained in:
Přemysl Eric Janouch 2024-04-10 18:33:23 +02:00
parent 63dde38bff
commit f9a102456f
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -61,6 +61,8 @@ else ()
endif ()
# -liconv may or may not be a part of libc
find_path (iconv_INCLUDE_DIRS iconv.h)
include_directories (${iconv_INCLUDE_DIRS})
find_library (iconv_LIBRARIES iconv)
if (iconv_LIBRARIES)
list (APPEND lib_libraries ${iconv_LIBRARIES})