Skip to content

Commit

Permalink
test: disable gettext to see what breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrazzo committed Jan 5, 2025
1 parent 96984c0 commit f1b1a82
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions scripts/build/build_libpq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,28 +134,28 @@ if [ "$ID" == "macos" ]; then
fi


if [ "$ID" == "macos" ]; then
# if [ "$ID" == "macos" ]; then

# Build gettext if needed
gettext_dir="gettext-${gettext_version}"
if [ ! -d "${gettext_dir}" ]; then
"$curl" -sL \
curl -sL "https://ftp.gnu.org/pub/gnu/gettext/gettext-${gettext_version}.tar.gz" \
| tar xzf -
# # Build gettext if needed
# gettext_dir="gettext-${gettext_version}"
# if [ ! -d "${gettext_dir}" ]; then
# "$curl" -sL \
# curl -sL "https://ftp.gnu.org/pub/gnu/gettext/gettext-${gettext_version}.tar.gz" \
# | tar xzf -

cd "${gettext_dir}"
# cd "${gettext_dir}"

./configure --prefix=${LIBPQ_BUILD_PREFIX} --disable-java \
CPPFLAGS=-I${LIBPQ_BUILD_PREFIX}/include/ LDFLAGS=-L${LIBPQ_BUILD_PREFIX}/lib
make -C gettext-runtime all
else
cd "${gettext_dir}"
fi
# ./configure --prefix=${LIBPQ_BUILD_PREFIX} --disable-java \
# CPPFLAGS=-I${LIBPQ_BUILD_PREFIX}/include/ LDFLAGS=-L${LIBPQ_BUILD_PREFIX}/lib
# make -C gettext-runtime all
# else
# cd "${gettext_dir}"
# fi

make -C gettext-runtime install
cd ..
# make -C gettext-runtime install
# cd ..

fi
# fi


if [ "$ID" == "centos" ] || [ "$ID" == "macos" ]; then
Expand Down

0 comments on commit f1b1a82

Please sign in to comment.