Skip to content

Commit 0da1b69

Browse files
authored
Migrate Windows build system to CLANG64 (Mudlet#57)
* update to clang64 * use qt-clang as qt key * compile qttools to prevent version mismatch * f that, qt compile takes too long, lets compile the qt that pacman would give us * fix hardcoded qt version, fail if pacman cant find qt * provide linux and mac with QT_VERSION
1 parent ea1479d commit 0da1b69

7 files changed

Lines changed: 81 additions & 120 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ jobs:
8484
8585
- name: (Linux, macOS) Build Qt StateMachine Module
8686
if: runner.os == 'Linux' || runner.os == 'macOS'
87+
env:
88+
QT_VERSION: ${{matrix.qt}}
8789
run: |
8890
# Make the build script executable and run it
8991
chmod +x ./CI/build-qt-statemachine.sh
@@ -93,7 +95,7 @@ jobs:
9395
if: runner.os == 'Windows'
9496
uses: msys2/setup-msys2@v2
9597
with:
96-
msystem: MINGW64
98+
msystem: CLANG64
9799
update: true
98100

99101
- name: (Windows) Build Environment Setup
@@ -109,7 +111,7 @@ jobs:
109111
uses: actions/cache/restore@v5
110112
with:
111113
path: ${{env.QT_ROOT}}
112-
key: qt
114+
key: qt-clang-${{env.QT_VERSION}}
113115

114116
- name: (Windows) Compile Qt
115117
if: runner.os == 'Windows' && steps.restore-qt.outputs.cache-hit != 'true'

CI/build-qt-statemachine.sh

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -e
88
echo "=== Building Qt ScXML Module from Source ==="
99

1010
# Set variables
11-
QT_STATEMACHINE_VERSION="6.9.1"
11+
QT_STATEMACHINE_VERSION="${QT_VERSION}"
1212
WORKSPACE_DIR="${RUNNER_WORKSPACE:-$HOME/bootstrap}"
1313
QT_DIR="${WORKSPACE_DIR}/Qt/${QT_STATEMACHINE_VERSION}/$(uname | tr '[:upper:]' '[:lower:]')_$(uname -m)"
1414

@@ -29,9 +29,10 @@ cd "$BUILD_DIR"
2929

3030
# Download Qt SCXML source from official Qt releases
3131
echo "=== Downloading Qt SCXML source from official releases ==="
32-
SCXML_URL="https://download.qt.io/official_releases/qt/6.9/6.9.1/submodules/qtscxml-everywhere-src-6.9.1.tar.xz"
32+
QT_MINOR="${QT_VERSION%.*}"
33+
SCXML_URL="https://download.qt.io/official_releases/qt/${QT_MINOR}/${QT_VERSION}/submodules/qtscxml-everywhere-src-${QT_VERSION}.tar.xz"
3334

34-
if [[ ! -f "qtscxml-everywhere-src-6.9.1.tar.xz" ]]; then
35+
if [[ ! -f "qtscxml-everywhere-src-${QT_VERSION}.tar.xz" ]]; then
3536
echo "Downloading $SCXML_URL"
3637
wget -q "$SCXML_URL" || {
3738
echo "Failed to download Qt SCXML source"
@@ -41,11 +42,11 @@ fi
4142

4243
# Extract the source
4344
echo "=== Extracting Qt SCXML source ==="
44-
if [[ ! -d "qtscxml-everywhere-src-6.9.1" ]]; then
45-
tar xf qtscxml-everywhere-src-6.9.1.tar.xz
45+
if [[ ! -d "qtscxml-everywhere-src-${QT_VERSION}" ]]; then
46+
tar xf "qtscxml-everywhere-src-${QT_VERSION}.tar.xz"
4647
fi
4748

48-
cd qtscxml-everywhere-src-6.9.1
49+
cd "qtscxml-everywhere-src-${QT_VERSION}"
4950

5051
# Configure
5152
echo "=== Configuring Qt ScXML build ==="

CI/build-win.sh

Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,14 @@
4040
# 2 - Unsupported MSYS2/MINGGW shell type
4141
# 3 - Unsupported build type
4242

43-
if [ "${MSYSTEM}" = "MSYS" ]; then
44-
echo "Please run this script from an MINGW32 or MINGW64 type bash terminal appropriate"
45-
echo "to the bitness you want to work on. You may do this once for each of them should"
46-
echo "you wish to do both."
47-
exit 2
48-
elif [ "${MSYSTEM}" = "MINGW64" ]; then
49-
export BUILD_BITNESS="64"
50-
else
51-
echo "This script is not set up to handle systems of type ${MSYSTEM}, only MINGW32 or"
52-
echo "MINGW64 are currently supported. Please rerun this in a bash terminal of one"
53-
echo "of those two types."
43+
if [ "${MSYSTEM}" != "CLANG64" ]; then
44+
echo "Please run this script from a CLANG64 type bash terminal."
45+
echo "Current MSYSTEM is: ${MSYSTEM}"
5446
exit 2
5547
fi
5648

57-
58-
MINGW_BASE_DIR="${GHCUP_MSYS2}\mingw32"
59-
export MINGW_BASE_DIR
60-
MINGW_INTERNAL_BASE_DIR="/mingw${BUILD_BITNESS}"
61-
export MINGW_INTERNAL_BASE_DIR
62-
PATH="${MINGW_INTERNAL_BASE_DIR}/usr/local/bin:${MINGW_INTERNAL_BASE_DIR}/bin:/usr/bin:${PATH}"
63-
export PATH
49+
export MINGW_BASE_DIR="${MSYSTEM_PREFIX}"
50+
export PATH="${MINGW_BASE_DIR}/usr/local/bin:${MINGW_BASE_DIR}/bin:/usr/bin:${PATH}"
6451
RUNNER_WORKSPACE_UNIX_PATH=$(echo "${RUNNER_WORKSPACE}" | sed 's|\\|/|g' | sed 's|D:|/d|g')
6552
export CCACHE_DIR=${RUNNER_WORKSPACE_UNIX_PATH}/ccache
6653

@@ -76,7 +63,7 @@ LAUNCH_INI_PATH="${GITHUB_WORKSPACE}/resources/launch.ini"
7663
Qt6_PREFIX=${RUNNER_WORKSPACE}/qt-static-install
7764
QT_DIR=${Qt6_PREFIX}/lib/cmake/Qt6
7865
export QT_DIR
79-
QT_LINGUIST_DIR=$(cygpath -w /mingw64/lib/cmake/Qt6LinguistTools)
66+
QT_LINGUIST_DIR=$(cygpath -w ${MSYSTEM_PREFIX}/lib/cmake/Qt6LinguistTools)
8067
echo "Qt6_PREFIX is: ${Qt6_PREFIX}"
8168
echo "QT_DIR is: ${QT_DIR}"
8269
echo "QT_LINGUIST_DIR is: ${QT_LINGUIST_DIR}"
@@ -110,8 +97,7 @@ while IFS= read -r line || [[ -n "$line" ]]; do
11097
echo "Found Qt6LinguistToolsConfig.cmake at: ${QT_LINGUIST_DIR}/Qt6LinguistToolsConfig.cmake"
11198
else
11299
echo "ERROR: Qt6LinguistToolsConfig.cmake not found at: ${QT_LINGUIST_DIR}/Qt6LinguistToolsConfig.cmake"
113-
# Try to find it in system installation
114-
find "/mingw64" -name "Qt6LinguistToolsConfig.cmake" -type f 2>/dev/null
100+
find "${MSYSTEM_PREFIX}" -name "Qt6LinguistToolsConfig.cmake" -type f 2>/dev/null
115101
exit 1
116102
fi
117103

@@ -121,13 +107,13 @@ while IFS= read -r line || [[ -n "$line" ]]; do
121107

122108
# Debug: Check what PCRE2 libraries are available
123109
echo "Checking for PCRE2 libraries..."
124-
find /mingw64/lib -name "*pcre*" -type f 2>/dev/null | head -5
110+
find ${MSYSTEM_PREFIX}/lib -name "*pcre*" -type f 2>/dev/null | head -5
125111
find "${RUNNER_WORKSPACE}/qt-static-install" -name "*pcre*" -type f 2>/dev/null | head -5
126112

127113
# Find the actual PCRE2 library path
128-
PCRE2_LIB_PATH=$(find /mingw64/lib -name "libpcre2-16.a" -type f | head -1)
114+
PCRE2_LIB_PATH=$(find ${MSYSTEM_PREFIX}/lib -name "libpcre2-16.a" -type f | head -1)
129115
if [ -z "$PCRE2_LIB_PATH" ]; then
130-
PCRE2_LIB_PATH=$(find /mingw64/lib -name "*pcre2*" -type f | head -1)
116+
PCRE2_LIB_PATH=$(find ${MSYSTEM_PREFIX}/lib -name "*pcre2*" -type f | head -1)
131117
fi
132118
echo "Found PCRE2 library at: $PCRE2_LIB_PATH"
133119

@@ -153,8 +139,7 @@ if(NOT TARGET Qt6::BundledPcre2)
153139
find_library(QT_BUNDLED_PCRE2_LIB
154140
NAMES pcre2-16 libpcre2-16
155141
PATHS
156-
"/mingw64/lib"
157-
"C:/a/_temp/msys64/mingw64/lib"
142+
"$ENV{MSYSTEM_PREFIX}/lib"
158143
NO_DEFAULT_PATH
159144
)
160145
endif()
@@ -180,8 +165,9 @@ if(NOT TARGET Qt6::BundledPcre2)
180165
endif()
181166
endif()
182167
183-
set(Qt6BundledPcre2_VERSION "6.9.1")
168+
set(Qt6BundledPcre2_VERSION "QT_VERSION_PLACEHOLDER")
184169
EOF
170+
sed -i "s/QT_VERSION_PLACEHOLDER/${QT_VERSION}/" "${QT_CMAKE_DIR}/Qt6BundledPcre2/Qt6BundledPcre2Config.cmake"
185171
echo "Created Qt6BundledPcre2Config.cmake"
186172
fi
187173

@@ -194,7 +180,7 @@ set(Qt6Bundled${bundled_lib}_FOUND TRUE)
194180
if(NOT TARGET Qt6::Bundled${bundled_lib})
195181
add_library(Qt6::Bundled${bundled_lib} INTERFACE IMPORTED)
196182
endif()
197-
set(Qt6Bundled${bundled_lib}_VERSION "6.9.1")
183+
set(Qt6Bundled${bundled_lib}_VERSION "${QT_VERSION}")
198184
EOF
199185
echo "Created Qt6Bundled${bundled_lib}Config.cmake"
200186
fi
@@ -207,8 +193,7 @@ EOF
207193
-DCMAKE_BUILD_TYPE=Release \
208194
-DCMAKE_PREFIX_PATH="$(cygpath -w $Qt6_PREFIX)" \
209195
-DQt6LinguistTools_DIR="${QT_LINGUIST_DIR}" \
210-
-DQt6BundledPcre2_DIR="$(cygpath -w /a/_temp/msys64/mingw64/lib/cmake/Qt6)" \
211-
-DCMAKE_IGNORE_PATH="/a/_temp/msys64/mingw64/lib/cmake/Qt6" \
196+
-DCMAKE_IGNORE_PATH="${MSYSTEM_PREFIX}/lib/cmake/Qt6" \
212197
..
213198

214199
if [ $? -ne 0 ]; then

CI/compile-qt-win.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
echo "=== Cloning Qt Source Repository ==="
3+
echo "=== Cloning Qt Source Repository (v${QT_VERSION}) ==="
44
cd ${RUNNER_WORKSPACE}
5-
git clone --branch v6.9.1 --depth 1 --no-recurse-submodules https://github.com/qt/qt5.git qt6-source
5+
git clone --branch v${QT_VERSION} --depth 1 --no-recurse-submodules https://github.com/qt/qt5.git qt6-source
66
cd qt6-source
77
git submodule update --init qtbase
88

@@ -20,7 +20,6 @@ export CMAKE_SUPPRESS_DEVELOPER_WARNINGS=ON
2020
-nomake tests -nomake examples \
2121
-skip qt3d -skip qtmultimedia -skip qtdeclarative -skip qtshadertools -skip qtquick -skip designer \
2222
-no-opengl -no-dbus \
23-
-platform win32-g++ \
2423
-qt-pcre \
2524
-openssl-linked \
2625
-- \
@@ -47,21 +46,22 @@ else
4746
cd qt-scxml-build
4847

4948
# Try downloading from Qt's additional libraries (this may or may not work)
50-
wget -q https://download.qt.io/official_releases/qt/6.9/6.9.1/submodules/qtscxml-everywhere-src-6.9.1.tar.xz || \
49+
QT_MINOR="${QT_VERSION%.*}"
50+
wget -q "https://download.qt.io/official_releases/qt/${QT_MINOR}/${QT_VERSION}/submodules/qtscxml-everywhere-src-${QT_VERSION}.tar.xz" || \
5151
echo "Could not download ScXML from additional libraries"
52-
53-
if [[ -f qtscxml-everywhere-src-6.9.1.tar.xz ]]; then
52+
53+
if [[ -f "qtscxml-everywhere-src-${QT_VERSION}.tar.xz" ]]; then
5454
echo "Found ScXML source, building..."
55-
tar xf qtscxml-everywhere-src-6.9.1.tar.xz
56-
cd qtscxml-everywhere-src-6.9.1
55+
tar xf "qtscxml-everywhere-src-${QT_VERSION}.tar.xz"
56+
cd "qtscxml-everywhere-src-${QT_VERSION}"
5757
mkdir build && cd build
5858
cmake .. \
5959
-DCMAKE_BUILD_TYPE=Release \
6060
-DCMAKE_PREFIX_PATH=${RUNNER_WORKSPACE}/qt-static-install \
6161
-DCMAKE_INSTALL_PREFIX=${RUNNER_WORKSPACE}/qt-static-install \
6262
-DBUILD_SHARED_LIBS=OFF \
6363
-DQT_BUILD_SHARED_LIBS=OFF \
64-
-G "MinGW Makefiles"
64+
-G Ninja
6565
cmake --build . --parallel
6666
cmake --install .
6767
else

CI/deploy-win.sh

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,9 @@
2929
# 4 - nuget error
3030
# 5 - squirrel error
3131

32-
if [ "${MSYSTEM}" = "MSYS" ]; then
33-
echo "Please run this script from an MINGW32 or MINGW64 type bash terminal appropriate"
34-
echo "to the bitness you want to work on. You may do this once for each of them should"
35-
echo "you wish to do both."
36-
exit 2
37-
elif [ "${MSYSTEM}" = "MINGW64" ]; then
38-
export BUILD_BITNESS="64"
39-
export BUILDCOMPONENT="x86_64"
40-
export ARCH="x86"
41-
else
42-
echo "This script is not set up to handle systems of type ${MSYSTEM}, only MINGW32 or"
43-
echo "MINGW64 are currently supported. Please rerun this in a bash terminal of one"
44-
echo "of those two types."
32+
if [ "${MSYSTEM}" != "CLANG64" ]; then
33+
echo "Please run this script from a CLANG64 type bash terminal."
34+
echo "Current MSYSTEM is: ${MSYSTEM}"
4535
exit 2
4636
fi
4737

CI/package-win.sh

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,13 @@
4545
# 4 - Directory to be used to assemble the package is NOT empty
4646
# 6 - No Mudlet.exe file found to work with
4747

48-
if [ "${MSYSTEM}" = "MSYS" ]; then
49-
echo "Please run this script from an MINGW32 or MINGW64 type bash terminal appropriate"
50-
echo "to the bitness you want to work on. You may do this once for each of them should"
51-
echo "you wish to do both."
52-
exit 2
53-
elif [ "${MSYSTEM}" = "MINGW64" ]; then
54-
export BUILD_BITNESS="64"
55-
else
56-
echo "This script is not set up to handle systems of type ${MSYSTEM}, only MINGW32 or"
57-
echo "MINGW64 are currently supported. Please rerun this in a bash terminal of one"
58-
echo "of those two types."
48+
if [ "${MSYSTEM}" != "CLANG64" ]; then
49+
echo "Please run this script from a CLANG64 type bash terminal."
50+
echo "Current MSYSTEM is: ${MSYSTEM}"
5951
exit 2
6052
fi
6153

6254
BUILD_CONFIG="release"
63-
MINGW_INTERNAL_BASE_DIR="/mingw${BUILD_BITNESS}"
64-
export MINGW_INTERNAL_BASE_DIR
6555
GITHUB_WORKSPACE_UNIX_PATH=$(echo ${GITHUB_WORKSPACE} | sed 's|\\|/|g' | sed 's|D:|/d|g')
6656

6757
echo "MSYSTEM is: ${MSYSTEM}"
@@ -132,9 +122,9 @@ while IFS= read -r line || [[ -n "$line" ]]; do
132122
echo ""
133123
#echo "Examining MudletInstaller application to identify other needed libraries..."
134124

135-
# NEEDED_LIBS=$("${MINGW_INTERNAL_BASE_DIR}/bin/ntldd" --recursive ./MudletInstaller.exe \
125+
# NEEDED_LIBS=$("${MSYSTEM_PREFIX}/bin/ntldd" --recursive ./MudletInstaller.exe \
136126
# | /usr/bin/grep -v "Qt6" \
137-
# | /usr/bin/grep -i "mingw" \
127+
# | /usr/bin/grep -i "clang64" \
138128
# | /usr/bin/cut -d ">" -f2 \
139129
# | /usr/bin/cut -d "(" -f1 \
140130
# | /usr/bin/sort)

CI/setup-win-sdk.sh

Lines changed: 38 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -50,30 +50,14 @@
5050
# 7 - One of more packages failed to install
5151

5252

53-
if [ "${MSYSTEM}" = "MINGW64" ]; then
54-
export BUILD_BITNESS="64"
55-
export BUILDCOMPONENT="x86_64"
56-
elif [ "${MSYSTEM}" = "MSYS" ]; then
57-
echo "Please run this script from an MINGW32 or MINGW64 type bash terminal appropriate"
58-
echo "to the bitness you want to work on. You may do this once for each of them should"
59-
echo "you wish to do both."
60-
exit 2
61-
else
62-
echo "This script is not set up to handle systems of type ${MSYSTEM}, only MINGW32 or"
63-
echo "MINGW64 are currently supported. Please rerun this in a bash terminal of one"
64-
echo "of those two types."
53+
if [ "${MSYSTEM}" != "CLANG64" ]; then
54+
echo "Please run this script from a CLANG64 type bash terminal."
55+
echo "Current MSYSTEM is: ${MSYSTEM}"
6556
exit 2
6657
fi
6758

68-
# We use this internally - but it is actually the same as ${MINGW_PREFIX}
69-
export MINGW_BASE_DIR=$MSYSTEM_PREFIX
70-
# A more compact - but not necessarily understood by other than MSYS/MINGW
71-
# executables - path:
72-
export MINGW_INTERNAL_BASE_DIR="/mingw${BUILD_BITNESS}"
73-
#
74-
# FIXME: don't add duplicates but rearrange instead to put them in the "right" order:
75-
#
76-
export PATH="${MINGW_INTERNAL_BASE_DIR}/usr/local/bin:${MINGW_INTERNAL_BASE_DIR}/bin:/usr/bin:${PATH}"
59+
export MINGW_BASE_DIR="${MSYSTEM_PREFIX}"
60+
export PATH="${MINGW_BASE_DIR}/usr/local/bin:${MINGW_BASE_DIR}/bin:/usr/bin:${PATH}"
7761
echo "MSYSTEM is: ${MSYSTEM}"
7862
echo "PATH is now: ${PATH}"
7963
echo ""
@@ -118,27 +102,27 @@ while true; do
118102
perl \
119103
bison \
120104
flex \
121-
"mingw-w64-${BUILDCOMPONENT}-ccache" \
122-
"mingw-w64-${BUILDCOMPONENT}-ntldd" \
123-
"mingw-w64-${BUILDCOMPONENT}-toolchain" \
124-
"mingw-w64-${BUILDCOMPONENT}-zlib" \
125-
"mingw-w64-${BUILDCOMPONENT}-icu" \
126-
"mingw-w64-${BUILDCOMPONENT}-openssl" \
127-
"mingw-w64-${BUILDCOMPONENT}-cmake" \
128-
"mingw-w64-${BUILDCOMPONENT}-ninja" \
129-
"mingw-w64-${BUILDCOMPONENT}-pcre2" \
130-
"mingw-w64-${BUILDCOMPONENT}-bzip2" \
131-
"mingw-w64-${BUILDCOMPONENT}-qt6-tools" \
132-
"mingw-w64-${BUILDCOMPONENT}-qt6-translations" \
133-
"mingw-w64-${BUILDCOMPONENT}-freetype" \
134-
"mingw-w64-${BUILDCOMPONENT}-harfbuzz" \
135-
"mingw-w64-${BUILDCOMPONENT}-libjpeg-turbo" \
136-
"mingw-w64-${BUILDCOMPONENT}-libpng" \
137-
"mingw-w64-${BUILDCOMPONENT}-zstd" \
138-
"mingw-w64-${BUILDCOMPONENT}-libb2" \
139-
"mingw-w64-${BUILDCOMPONENT}-brotli" \
140-
"mingw-w64-${BUILDCOMPONENT}-graphite2" \
141-
"mingw-w64-${BUILDCOMPONENT}-gettext"; then
105+
"${MINGW_PACKAGE_PREFIX}-ccache" \
106+
"${MINGW_PACKAGE_PREFIX}-ntldd" \
107+
"${MINGW_PACKAGE_PREFIX}-toolchain" \
108+
"${MINGW_PACKAGE_PREFIX}-zlib" \
109+
"${MINGW_PACKAGE_PREFIX}-icu" \
110+
"${MINGW_PACKAGE_PREFIX}-openssl" \
111+
"${MINGW_PACKAGE_PREFIX}-cmake" \
112+
"${MINGW_PACKAGE_PREFIX}-ninja" \
113+
"${MINGW_PACKAGE_PREFIX}-pcre2" \
114+
"${MINGW_PACKAGE_PREFIX}-bzip2" \
115+
"${MINGW_PACKAGE_PREFIX}-qt6-tools" \
116+
"${MINGW_PACKAGE_PREFIX}-qt6-translations" \
117+
"${MINGW_PACKAGE_PREFIX}-freetype" \
118+
"${MINGW_PACKAGE_PREFIX}-harfbuzz" \
119+
"${MINGW_PACKAGE_PREFIX}-libjpeg-turbo" \
120+
"${MINGW_PACKAGE_PREFIX}-libpng" \
121+
"${MINGW_PACKAGE_PREFIX}-zstd" \
122+
"${MINGW_PACKAGE_PREFIX}-libb2" \
123+
"${MINGW_PACKAGE_PREFIX}-brotli" \
124+
"${MINGW_PACKAGE_PREFIX}-graphite2" \
125+
"${MINGW_PACKAGE_PREFIX}-gettext"; then
142126
break
143127
fi
144128

@@ -158,12 +142,21 @@ ccache --max-size=10G
158142
#echo "=== Listing Environment Variables ==="
159143
#printenv
160144

145+
# Detect the Qt version installed by pacman so we can build a matching static qtbase
146+
QT_VERSION=$(pacman -Q "${MINGW_PACKAGE_PREFIX}-qt6-base" | awk '{print $2}' | sed 's/-.*//')
147+
if [ -z "$QT_VERSION" ]; then
148+
echo "ERROR: Could not detect Qt version from pacman"
149+
exit 1
150+
fi
151+
echo "Detected system Qt version: ${QT_VERSION}"
152+
echo "QT_VERSION=${QT_VERSION}" >> $GITHUB_ENV
153+
161154
echo "Debugging libbz2 symbols"
162155
echo "BZ2 library:"
163-
find /mingw64/lib -name "*bz2*" -type f
156+
find ${MSYSTEM_PREFIX}/lib -name "*bz2*" -type f
164157
echo "PCRE2 library:"
165-
find /mingw64/lib -name "*pcre2*" -type f
158+
find ${MSYSTEM_PREFIX}/lib -name "*pcre2*" -type f
166159
echo "Freetype library:"
167-
find /mingw64/lib -name "*freetype*" -type f
160+
find ${MSYSTEM_PREFIX}/lib -name "*freetype*" -type f
168161

169162
exit 0

0 commit comments

Comments
 (0)