Skip to content

Commit d53dbca

Browse files
committed
Updated install dir for iconv in osx build
1 parent 8180da2 commit d53dbca

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build-osx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ if [[ "$bison_ver" =~ ^2\.[0-9]+$ ]]; then
7676
export YACC="$bison/bin/bison"
7777
fi
7878

79+
brew --prefix libiconv
80+
7981
# Fix the path for the librdkafka
8082
kafka_prefix=$(brew --prefix librdkafka)
8183
sed "s|SEARCH_PATH=\"/usr/local /usr\"|SEARCH_PATH=\"${kafka_prefix}\"|" configure > configure-new
@@ -94,7 +96,7 @@ chmod +x configure
9496
--with-rdkafka \
9597
--enable-jchash \
9698
--enable-simdjson \
97-
--with-openssl --with-zlib --with-zip --with-iconv=/opt/local \
99+
--with-openssl --with-zlib --with-zip --with-iconv=$(brew --prefix libiconv) \
98100
--enable-filter \
99101
--with-curl \
100102
--enable-opcache \

0 commit comments

Comments
 (0)