aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorsomov <somov@yandex-team.com>2024-03-15 09:59:14 +0300
committersomov <somov@yandex-team.com>2024-03-15 10:09:57 +0300
commit65d0d84a586133fec1a91bf9816e40be597cf9a0 (patch)
tree426353c6c219c9cb3fa888580593a9af92052202 /contrib
parent972deb0a3ffc507a9ff49edafa83fde2ab49df83 (diff)
downloadydb-65d0d84a586133fec1a91bf9816e40be597cf9a0.tar.gz
Fix USE_ICONV=local on macOS
07564a01625ba418360cb1b39a9df66f31a2ca6a
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libs/libiconv/ya.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libs/libiconv/ya.make b/contrib/libs/libiconv/ya.make
index 629f048083..6c6e4898be 100644
--- a/contrib/libs/libiconv/ya.make
+++ b/contrib/libs/libiconv/ya.make
@@ -36,6 +36,10 @@ ELSEIF (USE_ICONV == "dynamic")
ELSEIF (USE_ICONV == "local")
GLOBAL_CFLAGS(${USE_LOCAL_ICONV_CFLAGS})
+ IF (OS_DARWIN)
+ LDFLAGS(-liconv)
+ ENDIF()
+
# Opensource code is compatible with libc provided iconv API on major linux distributions and macos.
ELSE()
PEERDIR(