Make crosscompiling easier

This commit is contained in:
Erik Ekman
2009-01-25 16:28:17 +00:00
committed by Erik Ekman
parent 937eaa8007
commit de617fb026
3 changed files with 13 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/sh
case $1 in
case $2 in
link)
case `uname` in
case $1 in
SunOS | solaris)
echo '-lsocket -lnsl';
;;
@@ -19,7 +19,7 @@ link)
esac
;;
cflags)
case `uname` in
case $1 in
BeOS)
echo '-Dsocklen_t=int';
;;