mirror of
https://github.com/qpdf/qpdf.git
synced 2024-05-29 16:30:53 +00:00
More reliable Windows wordsize detection
This commit is contained in:
parent
ff65e272a8
commit
807aaa46b1
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
if echo $PATH | grep -q /mingw64; then
|
if g++ -v 2>&1 | grep Target: | grep -q x86_64; then
|
||||||
wordsize=64
|
wordsize=64
|
||||||
else
|
else
|
||||||
wordsize=32
|
wordsize=32
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
set -x
|
set -x
|
||||||
if echo $PATH | grep -q /mingw64; then
|
if cl 2>&1 | grep -q 'for x64'; then
|
||||||
wordsize=64
|
wordsize=64
|
||||||
else
|
else
|
||||||
wordsize=32
|
wordsize=32
|
||||||
|
|
Loading…
Reference in New Issue
Block a user