diff options
Diffstat (limited to 'infrastructure/mingw/configure.sh')
-rwxr-xr-x | infrastructure/mingw/configure.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/infrastructure/mingw/configure.sh b/infrastructure/mingw/configure.sh index f1ad353f..0486b20d 100755 --- a/infrastructure/mingw/configure.sh +++ b/infrastructure/mingw/configure.sh @@ -1,14 +1,16 @@ #!/bin/sh -if [ ! -r "/usr/i686-pc-mingw32/lib/libssl.a" ]; then +DEP_PATH=/usr/i686-pc-mingw32 + +if [ ! -r "$DEP_PATH/lib/libssl.a" ]; then echo "Error: install OpenSSL as instructed by" \ "docs/backup/win32_build_on_cygwin_using_mingw.txt" >&2 exit 2 fi -if [ ! -r "/usr/lib/mingw/libpcreposix.a" \ - -o ! -r "/usr/lib/mingw/libpcre.a" \ - -o ! -r "/usr/include/mingw/pcreposix.h" ]; then +if [ ! -r "$DEP_PATH/lib/libpcreposix.a" \ + -o ! -r "$DEP_PATH/lib/libpcre.a" \ + -o ! -r "$DEP_PATH/include/pcreposix.h" ]; then echo "Error: install PCRE as instructed by" \ "docs/backup/win32_build_on_cygwin_using_mingw.txt" >&2 exit 2 |