summaryrefslogtreecommitdiff
path: root/hints/vos.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hints/vos.sh')
-rw-r--r--hints/vos.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/hints/vos.sh b/hints/vos.sh
index c06adba188..f3bd74d7e3 100644
--- a/hints/vos.sh
+++ b/hints/vos.sh
@@ -82,3 +82,12 @@ archobjs="vos.o"
# Help gmake find vos.c
test -h vos.c || ln -s vos/vos.c vos.c
+
+# VOS returns a constant 1 for st_nlink when stat'ing a
+# directory. Therefore, we must set this variable to stop
+# File::Find using the link count to determine whether there are
+# subdirectories to be searched.
+dont_use_nlink=define
+
+# Tell Configure where to find the hosts file.
+hostcat="cat /system/stcp/hosts"