summaryrefslogtreecommitdiff
path: root/hints/netbsd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/netbsd.sh')
-rw-r--r--hints/netbsd.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/hints/netbsd.sh b/hints/netbsd.sh
new file mode 100644
index 0000000000..f5f5a74f93
--- /dev/null
+++ b/hints/netbsd.sh
@@ -0,0 +1,10 @@
+# hints/netbsd.sh
+case "$osvers" in
+0.9|0.8)
+ usedl="$undef"
+ ;;
+*) d_dlopen="$define"
+ cccdlflags='-DPIC -fpic'
+ lddlflags='-Bforcearchive -Bshareable'
+ ;;
+esac