Skip to content

Commit 608b941

Browse files
committed
common-versions: prepare pcrep2 for glib
1 parent 815a620 commit 608b941

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

scripts/common-versions-source.sh

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,21 @@ function build_versions()
8080
# https://ftp.gnu.org/pub/gnu/gettext/
8181
build_gettext "0.21"
8282

83-
# Experimental, when a newer glib was tested.
84-
if false # [ "${TARGET_PLATFORM}" != "win32" ]
83+
if [ "${TARGET_PLATFORM}" == "win32" ]
8584
then
86-
# required by pcre2
87-
# https://ftp.gnu.org/gnu/readline/
88-
build_readline "8.1.2"
89-
90-
# https://github.com/PCRE2Project/pcre2/releases
91-
build_pcre2 "10.40"
85+
# required by readline
86+
# https://ftp.gnu.org/gnu/termcap/
87+
build_termcap "1.3.1"
9288
fi
9389

90+
# required by pcre2
91+
# https://ftp.gnu.org/gnu/readline/
92+
# x86_64-w64-mingw32/bin/ld: cannot find -ltermcap
93+
build_readline "8.1.2"
94+
95+
# https://github.com/PCRE2Project/pcre2/releases
96+
build_pcre2 "10.40"
97+
9498
# https://download.gnome.org/sources/glib/
9599
# ERROR: glib-2.56 gthread-2.0 is required to compile QEMU
96100
build_glib "2.56.4"

0 commit comments

Comments
 (0)