[svn-upgrade] Integrating new upstream version, iodine (0.5.0)
[debian/iodine.git] / src / osflags
index 0f8665d39bf484608a010435168a59dd736a80e5..2e28ee886ee627b86aa7c596fc727cd259260ca7 100644 (file)
@@ -7,8 +7,21 @@ link)
                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