File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ get_latest_version() {
2121 fi
2222}
2323
24+ [ -z " $PREFIX " ] && PREFIX=" /usr/local/"
2425if [ " $ID " = " almalinux" ] || [ " $ID " = " centos" ] || [ " $ID " = " rhel" ]; then
2526 if [ -d /usr/local/share/aclocal ]; then
2627 # needed for manylinux_2_28 container which ships custom autoconf, possibly others too?
@@ -36,7 +37,7 @@ if [ "$ID" = "almalinux" ] || [ "$ID" = "centos" ] || [ "$ID" = "rhel" ]; then
3637 wget https://download.gnome.org/sources/libxml2/2.9/libxml2-2.9.14.tar.xz
3738 unxz libxml2-2.9.14.tar.xz
3839 tar -xf libxml2-2.9.14.tar
39- cd libxml2-2.9.14 && ./configure --prefix=/usr/ --without-python && make && make install
40+ cd libxml2-2.9.14 && ./configure --prefix=$PREFIX --without-python && make && make install
4041 cd ..
4142 fi
4243 elif [ " $VERSION_ID " = " 8" ]; then
@@ -46,7 +47,6 @@ if [ "$ID" = "almalinux" ] || [ "$ID" = "centos" ] || [ "$ID" = "rhel" ]; then
4647 fi
4748fi
4849
49- [ -z " $PREFIX " ] && PREFIX=" /usr/local/"
5050PWD=" $( pwd) "
5151BUILDDIR=" $( mktemp -dt " build-deps.XXXXXX" ) "
5252cd " $BUILDDIR "
You can’t perform that action at this time.
0 commit comments