mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
SunOS compile support: add -lrt to support nanosleep(); add definition of strndup()
This commit is contained in:
parent
796992d82d
commit
34f5d55b84
2 changed files with 26 additions and 1 deletions
6
configure
vendored
6
configure
vendored
|
@ -1220,6 +1220,10 @@ if [ "X" != "X$DEBUG" ]; then
|
|||
echo DEBUG: STRIP=$STRIP
|
||||
fi
|
||||
|
||||
if [ "$SYSS" = "SunOS" ]; then
|
||||
XLIBS="$XLIBS -lrt"
|
||||
fi
|
||||
|
||||
echo "Writing Makefile.in ..."
|
||||
if [ "X" != "X$FHS" ]; then
|
||||
echo "MANDIR = /share/man/man1" >> Makefile.in
|
||||
|
@ -1263,7 +1267,7 @@ if [ "x$WINDRES" = "x" ]; then
|
|||
echo HYDRA_LOGO= >> Makefile
|
||||
echo PWI_LOGO= >> Makefile
|
||||
fi
|
||||
if [ "$GCCSEC" = "yes" ]; then
|
||||
if [ "$GCCSEC" = "yes" ] && [ "$SYSS" != "SunOS" ]; then
|
||||
echo "SEC=$GCCSECOPT" >> Makefile
|
||||
else
|
||||
echo "SEC=" >> Makefile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue