Skip to content

Commit cee23d8

Browse files
committed
chore(macos): drop unneeded gettext from libpq building
1 parent 5bfba4c commit cee23d8

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

scripts/build/build_libpq.sh

-24
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ openssl_version="${OPENSSL_VERSION}"
1515
# last release: https://kerberos.org/dist/
1616
krb5_version="1.21.3"
1717

18-
# last release: https://www.gnu.org/software/gettext/
19-
gettext_version="0.22.5"
20-
2118
# last release: https://openldap.org/software/download/
2219
ldap_version="2.6.8"
2320

@@ -153,27 +150,6 @@ if [ "$ID" == "macos" ]; then
153150
fi
154151

155152

156-
if [ "$ID" == "macos" ]; then
157-
158-
# Build gettext if needed
159-
gettext_dir="gettext-${gettext_version}"
160-
if [ ! -d "${gettext_dir}" ]; then
161-
curl -sL "https://ftp.gnu.org/pub/gnu/gettext/gettext-${gettext_version}.tar.gz" \
162-
| tar xzf -
163-
164-
pushd "${gettext_dir}"
165-
./configure --disable-java "${make_configure_standard_flags[@]}"
166-
make -C gettext-runtime all
167-
else
168-
pushd "${gettext_dir}"
169-
fi
170-
171-
make -C gettext-runtime install
172-
popd
173-
174-
fi
175-
176-
177153
if [ "$ID" == "centos" ] || [ "$ID" == "macos" ]; then
178154

179155
# Build libsasl2 if needed

scripts/build/wheel_macos_before_all.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ prjdir="$( cd "${dir}/../.." && pwd )"
1515
"${prjdir}/scripts/build/build_libpq.sh"
1616

1717
# Show dependency tree
18-
# otool -L /tmp/libpq.build/lib/*.dylib
18+
otool -L /tmp/libpq.build/lib/*.dylib
1919

2020
brew install gnu-sed postgresql@${PG_VERSION}
2121
brew link --overwrite postgresql@${PG_VERSION}

0 commit comments

Comments
 (0)