blob: 67cd95c2ad9df2f3571a6bc8673ec21dade09067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# hints/netbsd.sh
# netbsd keeps dynamic loading dl*() functions in /usr/lib/crt0.o,
# so Configure doesn't find them (unless you abandon the nm scan).
case "$osvers" in
0.9*|0.8*)
usedl="$undef"
;;
*) d_dlopen=$define
d_dlerror=$define
cccdlflags="-DPIC -fpic $cccdlflags"
lddlflags="-Bforcearchive -Bshareable $lddlflags"
;;
esac
# Avoid telldir prototype conflict in pp_sys.c (NetBSD uses const DIR *)
# Configure should test for this. Volunteers?
pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"'
|