1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-26 23:16:05 +03:00
iodine/src/osflags

31 lines
308 B
Plaintext
Raw Normal View History

2008-07-12 16:42:19 +04:00
#!/bin/sh
2009-01-25 19:28:17 +03:00
case $2 in
2008-07-12 16:42:19 +04:00
link)
2009-01-25 19:28:17 +03:00
case $1 in
2008-07-12 16:42:19 +04:00
SunOS | solaris)
echo '-lsocket -lnsl';
;;
BeOS)
echo '-lsocket -lbind -lbsd';
;;
Haiku)
echo '-lnetwork';
;;
windows32)
echo '-lplibc -lws2_32';
;;
2008-07-12 16:42:19 +04:00
esac
;;
cflags)
2009-01-25 19:28:17 +03:00
case $1 in
BeOS)
echo '-Dsocklen_t=int';
;;
esac
;;
2008-07-12 16:42:19 +04:00
*)
;;
esac