mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
If prefix set then high chance of libs being there
If they are compiling to target an alternative directory there are likely dependencies to the same target. Test for PREFIX/lib and PREFIX/include to be sure.
This commit is contained in:
parent
6af2e98559
commit
c7c010e273
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
|
||||
LIBDIRS="$LIBDIRS /lib /usr/lib /usr/local/lib /opt/local/lib"
|
||||
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"
|
||||
echo
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue