mirror of
https://github.com/qpdf/qpdf.git
synced 2025-02-02 03:48:24 +00:00
More reliable Windows wordsize detection
This commit is contained in:
parent
ff65e272a8
commit
807aaa46b1
@ -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
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
set -x
|
||||
if echo $PATH | grep -q /mingw64; then
|
||||
if cl 2>&1 | grep -q 'for x64'; then
|
||||
wordsize=64
|
||||
else
|
||||
wordsize=32
|
||||
|
Loading…
x
Reference in New Issue
Block a user