diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-01-08 22:06:04 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-01-08 22:06:04 +0000 |
commit | 28b75c40592336ad0d82c60f961b9c98a83a81e5 (patch) | |
tree | 81bf2028b8ee38a6c6dc819d735e988befcf91ba /infrastructure | |
parent | d2ab76c315dd3569ef69cb604bfb2c424e75cd6d (diff) |
Update instructions for OpenSSL 1.0.0a and PCRE 8.10.
Instruct users to install PCRE in the MinGW cross-compiler's directory
instead of /usr/{lib,include}/mingw, as it's more standard.
(merges [2742] from 0.11)
Diffstat (limited to 'infrastructure')
-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 b56d13c6..5b5d946d 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 |