mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-27 12:05:15 +00:00
31 lines
312 B
Bash
Executable File
31 lines
312 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case $2 in
|
|
link)
|
|
|
|
case $1 in
|
|
SunOS | solaris)
|
|
echo '-lsocket -lnsl';
|
|
;;
|
|
BeOS)
|
|
echo '-lsocket -lbind -lbsd';
|
|
;;
|
|
Haiku)
|
|
echo '-lnetwork';
|
|
;;
|
|
windows32)
|
|
echo '-lws2_32';
|
|
;;
|
|
esac
|
|
;;
|
|
cflags)
|
|
case $1 in
|
|
BeOS | windows32)
|
|
echo '-Dsocklen_t=int';
|
|
;;
|
|
esac
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|