From 5e80e165754064e9942fdf7bd3449a9f4fa047a0 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 10 Jul 2018 19:10:06 +0200 Subject: Fix saving state when broken links are encountered --- wscript | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'wscript') 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, -- cgit v1.2.1