We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f961de commit 4de4cc3Copy full SHA for 4de4cc3
1 file changed
bin/cibw_before_build_windows_arm64.sh
@@ -53,7 +53,12 @@ rm -f "$def_path_msys" "$import_lib_msys"
53
cd "$lib_dir_msys"
54
gendef "$dll_path_msys"
55
)
56
+echo "Generating $import_lib_msys with $dlltool"
57
"$dlltool" -d "$def_path_msys" -D "$DLL_NAME" -l "$import_lib_msys"
58
+if [ ! -f "$import_lib_msys" ]; then
59
+ echo "Failed to create $import_lib_msys" >&2
60
+ exit 1
61
+fi
62
63
cat > "$pc_path_msys" <<EOF
64
prefix=$REPO_ROOT
@@ -68,9 +73,5 @@ Libs: -L\${libdir} -l$dll_stem
68
73
Cflags: -I\${includedir}
69
74
EOF
70
75
71
-if command -v pkg-config >/dev/null 2>&1; then
72
- pkg-config --exists "python-$PKG_VERSION"
-fi
-
76
echo "Generated $import_lib_msys"
77
echo "Generated $pc_path_msys"
0 commit comments