mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
msys support
This commit is contained in:
parent
79fa70cfdb
commit
84e765d3a9
1 changed files with 5 additions and 5 deletions
10
configure
vendored
10
configure
vendored
|
@ -157,8 +157,8 @@ fi
|
||||||
if [ -d "/Library/Developer/CommandLineTools/usr/lib" ]; then
|
if [ -d "/Library/Developer/CommandLineTools/usr/lib" ]; then
|
||||||
LIBDIRS="$LIBDIRS /Library/Developer/CommandLineTools/usr/lib /Library/Developer/CommandLineTools/lib"
|
LIBDIRS="$LIBDIRS /Library/Developer/CommandLineTools/usr/lib /Library/Developer/CommandLineTools/lib"
|
||||||
fi
|
fi
|
||||||
LIBDIRS="$LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib"
|
LIBDIRS="$LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib /mingw64/lib /mingw64/bin"
|
||||||
INCDIRS="$SDK_PATH/usr/include /usr/local/include /opt/include /opt/local/include"
|
INCDIRS="$SDK_PATH/usr/include /usr/local/include /opt/include /opt/local/include /mingw64/include"
|
||||||
if [ -n "$PREFIX" ]; then
|
if [ -n "$PREFIX" ]; then
|
||||||
if [ -d "$PREFIX/lib" ]; then
|
if [ -d "$PREFIX/lib" ]; then
|
||||||
LIBDIRS="$LIBDIRS $PREFIX/lib"
|
LIBDIRS="$LIBDIRS $PREFIX/lib"
|
||||||
|
@ -445,7 +445,7 @@ echo "Checking for Postgres (libpq/libpq-fe.h) ..."
|
||||||
done
|
done
|
||||||
POSTGRES_IPATH=
|
POSTGRES_IPATH=
|
||||||
for i in $INCDIRS \
|
for i in $INCDIRS \
|
||||||
/opt/p*sql*/include /usr/*p*sql*/include /usr/local/*psql*/include
|
/opt/p*sql*/include /usr/*p*sql*/include /usr/local/*psql*/include /mingw64/include
|
||||||
do
|
do
|
||||||
if [ "X" = "X$POSTGRES_IPATH" ]; then
|
if [ "X" = "X$POSTGRES_IPATH" ]; then
|
||||||
if [ -f "$i/libpq-fe.h" ]; then
|
if [ -f "$i/libpq-fe.h" ]; then
|
||||||
|
@ -1761,9 +1761,9 @@ cat Makefile.in >> Makefile
|
||||||
# ignore errors if this uname call fails
|
# ignore errors if this uname call fails
|
||||||
### Current Cygwin is up to speed :-)
|
### Current Cygwin is up to speed :-)
|
||||||
WINDRES=""
|
WINDRES=""
|
||||||
if [ "$SYSO" = "Cygwin" ]; then
|
if [ "$SYSO" = "Cygwin" -o "$SYSO" = "Msys" ]; then
|
||||||
echo
|
echo
|
||||||
echo "Cygwin detected, if compilation fails just update your installation."
|
echo "Cygwin/MSYS2 detected, if compilation fails just update your installation."
|
||||||
echo
|
echo
|
||||||
WINDRES=`which windres`
|
WINDRES=`which windres`
|
||||||
test -x "$WINDRES" && {
|
test -x "$WINDRES" && {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue