--- CMakeLists.txt.orig	2024-06-28 10:38:15.000000000 +0300
+++ CMakeLists.txt	2025-02-17 15:50:06.815245000 +0300
@@ -364,6 +364,7 @@
 # ******************************
 
 set(CMAKE_REQUIRED_LIBRARIES "-liconv")
+set(CMAKE_REQUIRED_FLAGS "-L/usr/local/lib")
 CHECK_C_SOURCE_COMPILES("#include <iconv.h>
 			#include <stdlib.h>
 			int main(void) { iconv_t cd; cd = iconv_open (\"UTF-8\", \"ISO-8859-1\"); return 0; }" HAVE_LIBICONV)
