Skip to content

Commit edc5c82

Browse files
committed
try disabling libxml2 to fix configure error in netcdf
1 parent c7ca116 commit edc5c82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@ function build_netcdf {
116116
# autotools build
117117
if [[ ! -z "IS_OSX" && "$PLAT" = "arm64" ]] && [[ "$CROSS_COMPILING" = "1" ]]; then
118118
(cd netcdf-c-${NETCDF_VERSION} \
119-
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap \
119+
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --disable-libxml2 \
120120
&& make -j4 \
121121
&& make install )
122122
else
123123
(cd netcdf-c-${NETCDF_VERSION} \
124124
&& export HDF5_PLUGIN_PATH=$BUILD_PREFIX/lib/netcdf-plugins \
125-
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --with-plugin-dir=$HDF5_PLUGIN_PATH \
125+
&& ./configure --prefix=$BUILD_PREFIX --enable-netcdf-4 --enable-shared --enable-dap --disable-libxml2 --with-plugin-dir=$HDF5_PLUGIN_PATH \
126126
&& make -j4 \
127127
&& make install )
128128
fi

0 commit comments

Comments
 (0)