X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=uffi%2Fmake.sh;fp=uffi%2Fmake.sh;h=746a86268e7d62cbaf32343cc590243a90a6042e;hb=e8c000a120f978e464441838fe1576e6afc94d9d;hp=843aa4793ee8cf7d51e2c2939b94391786f953af;hpb=7bf3b7c953c25ecd050257f0fb90cb8d3b145889;p=clsql.git diff --git a/uffi/make.sh b/uffi/make.sh index 843aa47..746a862 100644 --- a/uffi/make.sh +++ b/uffi/make.sh @@ -4,6 +4,7 @@ case "`uname`" in Linux) os_linux=1 ;; GNU) os_linux=1 ;; FreeBSD) os_freebsd=1 ;; + NetBSD) os_netbsd=1 ;; GNU/kFreeBSD) os_gnukfreebsd=1;; Darwin) os_darwin=1 ;; SunOS) os_sunos=1 ;; @@ -12,7 +13,7 @@ case "`uname`" in exit 1 ;; esac -if [ "$os_linux" -o "$os_freebsd" -o "$os_gnukfreebsd" ]; then +if [ "$os_linux" -o "$os_freebsd" -o "$os_gnukfreebsd" -o "$os_netbsd" ]; then gcc -fPIC -DPIC -c $SOURCE -o $OBJECT ld -shared -soname=$BASE $LDFLAGS $OBJECT -o $SHARED_LIB elif [ "$os_darwin" ]; then