summaryrefslogtreecommitdiff
path: root/hints/haiku.sh
blob: c9eba8ebd4eeaf281c4e3858238cbb143e2ebfb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Haiku hints file
# $Id$

prefix="/boot/common"

libpth='/boot/home/config/lib /boot/common/lib /system/lib'
usrinc='/boot/develop/headers/posix'
locinc='/boot/home/config/include /boot/common/include /boot/develop/headers'

libc='/system/lib/libroot.so'
libs='-lnetwork'

# Use Haiku's malloc() by default.
case "$usemymalloc" in
'') usemymalloc='n' ;;
esac

# Haiku generally supports hard links, but the default file system (BFS)
# doesn't. So better avoid using hard links.
d_link='undef'
dont_use_nlink='define'

# The array syserrlst[] is useless for the most part.
# Large negative numbers really kind of suck in arrays.
d_syserrlst='undef'

# Haiku uses gcc.
cc="gcc"
ld='gcc'

# The runtime loader library path variable is LIBRARY_PATH.
case "$ldlibpthname" in
'') ldlibpthname=LIBRARY_PATH ;;
esac