summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-07-10 19:10:06 +0200
committerDavid Robillard <d@drobilla.net>2018-07-10 21:58:32 +0200
commit5e80e165754064e9942fdf7bd3449a9f4fa047a0 (patch)
tree6d409f9cc18907e821dafc6a909d1f9d36d657c3 /wscript
parentcfa27c5274499f9609a9d4c0c224f3d205aa7f4a (diff)
downloadlilv-5e80e165754064e9942fdf7bd3449a9f4fa047a0.tar.gz
lilv-5e80e165754064e9942fdf7bd3449a9f4fa047a0.tar.bz2
lilv-5e80e165754064e9942fdf7bd3449a9f4fa047a0.zip
Fix saving state when broken links are encountered
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index 0ff80f8..cb6a278 100644
--- a/wscript
+++ b/wscript
@@ -108,6 +108,12 @@ def configure(conf):
if conf.env.DEST_OS == 'darwin' or conf.env.DEST_OS == 'win32':
rt_lib = []
+ autowaf.check_function(conf, 'c', 'lstat',
+ header_name = ['sys/stat.h'],
+ defines = defines,
+ define_name = 'HAVE_LSTAT',
+ mandatory = False)
+
autowaf.check_function(conf, 'c', 'flock',
header_name = 'sys/file.h',
defines = defines,