File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ source <(curl -s https://raw.githubusercontent.com/pytgcalls/build-toolkit/refs/
4
4
require_venv
5
5
6
6
GLIB_VERSION=$( get_version " glib" )
7
+ EXPAT_VERSION=$( get_version " expat" )
7
8
8
9
ARCH=$( uname -m)
9
10
if [[ " $ARCH " == " x86_64" ]]; then
13
14
C_ARGS=" "
14
15
CPP_ARGS=" "
15
16
fi
16
-
17
+ build_and_install https://github.com/libexpat/libexpat.git " R_ ${EXPAT_VERSION // . / _} " configure-static --prefix= " $( pwd ) /libexpat/build/ " --setup-commands= " cd expat " --cleanup-commands= " cd .. "
17
18
build_and_install https://github.com/GNOME/glib.git " $GLIB_VERSION " meson-static --prefix=" $( pwd) /glib/build/" --buildtype=plain -Dtests=false -Dc_args=" $C_ARGS " -Dcpp_args=" $CPP_ARGS "
18
19
19
20
mkdir -p artifacts/lib
20
21
mkdir -p artifacts/include
21
22
cp -r " $( pwd) " /glib/build/lib/* .a artifacts/lib/
23
+ cp -r " $( pwd) " /libexpat/build/lib/* .a artifacts/lib/
22
24
cp -r " $( pwd) " /glib/build/include/glib-2.0/* artifacts/include/
23
25
cp " $( pwd) " /glib/build/lib/glib-2.0/include/glibconfig.h artifacts/include/
Original file line number Diff line number Diff line change 1
1
glib =2.84.0
2
+ expat =2.7.1
You can’t perform that action at this time.
0 commit comments