1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-26 15:06:04 +03:00
iodine/src/osflags

28 lines
272 B
Plaintext
Raw Normal View History

2008-07-12 16:42:19 +04:00
#!/bin/sh
case $1 in
link)
case `uname` in
2008-07-12 16:42:19 +04:00
SunOS | solaris)
echo '-lsocket -lnsl';
;;
BeOS)
echo '-lsocket -lbind -lbsd';
;;
Haiku)
echo '-lnetwork';
;;
2008-07-12 16:42:19 +04:00
esac
;;
cflags)
case `uname` in
BeOS)
echo '-Dsocklen_t=int';
;;
esac
;;
2008-07-12 16:42:19 +04:00
*)
;;
esac