mirror of
https://github.com/yarrick/iodine.git
synced 2024-11-15 04:49:18 +02:00
28 lines
272 B
Bash
Executable File
28 lines
272 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case $1 in
|
|
link)
|
|
|
|
case `uname` in
|
|
SunOS | solaris)
|
|
echo '-lsocket -lnsl';
|
|
;;
|
|
BeOS)
|
|
echo '-lsocket -lbind -lbsd';
|
|
;;
|
|
Haiku)
|
|
echo '-lnetwork';
|
|
;;
|
|
esac
|
|
;;
|
|
cflags)
|
|
case `uname` in
|
|
BeOS)
|
|
echo '-Dsocklen_t=int';
|
|
;;
|
|
esac
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|