mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 21:33:51 -07:00
Merge pull request #85 from x0x7/master
If prefix set then high chance of libs being there
This commit is contained in:
commit
ea38c891bb
1 changed files with 8 additions and 0 deletions
8
configure
vendored
8
configure
vendored
|
@ -127,6 +127,14 @@ if [ -d "/Library/Developer/CommandLineTools/usr/lib" ]; then
|
||||||
fi
|
fi
|
||||||
LIBDIRS="$LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib"
|
LIBDIRS="$LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib"
|
||||||
INCDIRS="/usr/include /usr/local/include /opt/include /opt/local/include"
|
INCDIRS="/usr/include /usr/local/include /opt/include /opt/local/include"
|
||||||
|
if [ -n "$PREFIX" ]; then
|
||||||
|
if [ -d "$PREFIX/lib"]; then
|
||||||
|
LIBDIRS="$LIBDIRS $PREFIX/lib"
|
||||||
|
fi
|
||||||
|
if [ -d "$PREFIX/include"]; then
|
||||||
|
INCDIRS="$INCDIRS $PREFIX/include"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
STRIP="strip"
|
STRIP="strip"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue