X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/70f8adff2c970496bdc45717cad49ddec0405ae7..refs/heads/stg-2.409-radius:/projects/sgconf_xml/build diff --git a/projects/sgconf_xml/build b/projects/sgconf_xml/build index a1084554..eb782f9f 100755 --- a/projects/sgconf_xml/build +++ b/projects/sgconf_xml/build @@ -54,7 +54,7 @@ fi if [ "$sys" = "Darwin" ] then OS=darwin - MAKE="gmake" + MAKE="make" fi if [ "$OS" = "unknown" ] @@ -83,13 +83,20 @@ else if [ "$OS" = "bsd" ] then DEFS="$DEFS -DFREE_BSD" + LIB_THREAD=-lc_r else - DEFS="$DEFS -DFREE_BSD5" if [ "$OS" = "bsd7" ] then + DEFS="$DEFS -DFREE_BSD5" LIB_THREAD=-lpthread else - LIB_THREAD=-lc_r + if [ "$OS" == "darwin" ] + then + DEFS="$DEFS -DDARWIN" + LIB_THREAD=-lpthread + else + LIB_THREAD=-lc_r + fi fi fi fi