File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,11 @@ cd build
6060
6161mkdir -p " $dist_dir "
6262
63- # NOTE: We don't want to require `libexpat` to be dynamically linked.
64- # It turns out to be quite hard to statically link *only* `libexpat`.
6563../configure \
66- --target " $target " \
64+ --target= " $target " \
6765 --program-prefix=" $target -" \
68- --prefix " $dist_dir " \
69- --with-expat=no
66+ --prefix= " $dist_dir " \
67+ --with-libexpat-type=static
7068
7169make -j " $( nproc) "
7270make install
Original file line number Diff line number Diff line change 99# Repository for the `gh` GitHub CLI tool used for creating releases.
1010dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
1111
12+ # Repository for expat-static
13+ dnf install -y almalinux-release-devel
14+
1215dnf install -y \
1316 sudo \
1417 gh \
@@ -27,4 +30,5 @@ dnf install -y \
2730 python36 \
2831 zlib-devel \
2932 zlib-static \
30- libffi-devel
33+ libffi-devel \
34+ expat-static
You can’t perform that action at this time.
0 commit comments