aboutsummaryrefslogtreecommitdiffstats
path: root/config-mingw
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-10-16 00:45:39 +0200
committerJay Berkenbilt <ejb@ql.org>2020-10-16 13:02:25 +0200
commit807aaa46b1b26a459ac1ce44c17dbe872ad0b637 (patch)
tree4623cccf21230ab23452a53585435d5ab61b183b /config-mingw
parentff65e272a8f8e647a3db5187e5c4594ff01cbd34 (diff)
downloadqpdf-807aaa46b1b26a459ac1ce44c17dbe872ad0b637.tar.zst
More reliable Windows wordsize detection
Diffstat (limited to 'config-mingw')
-rwxr-xr-xconfig-mingw2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-mingw b/config-mingw
index 0d630101..4dfe2cf2 100755
--- a/config-mingw
+++ b/config-mingw
@@ -1,7 +1,7 @@
#!/bin/sh
set -e
set -x
-if echo $PATH | grep -q /mingw64; then
+if g++ -v 2>&1 | grep Target: | grep -q x86_64; then
wordsize=64
else
wordsize=32