summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2018-12-26 01:03:29 +0100
committerJeremy Allison <jra@samba.org>2022-02-18 23:12:51 +0000
commit45cb14ac80889ac913f7f76dbfaebcb4d5ee14fd (patch)
tree9886b4d689a5e290dd683663e8a9c98fed09e09f /source3/wscript
parente225ab70db0cc01454d319eaca5265d7e33f396c (diff)
downloadsamba-45cb14ac80889ac913f7f76dbfaebcb4d5ee14fd.tar.gz
waf: re-add missing readlink test
this was another portability regression that came with the moving to waf BUG: https://bugzilla.samba.org/show_bug.cgi?id=13631 Signed-off-by: Bjoern Jacke <bj@sernet.de> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Feb 18 23:12:51 UTC 2022 on sn-devel-184
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index dd91df2dc51..412f315c662 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -1374,6 +1374,12 @@ main() {
addmain=False,
execute=True)
+ conf.CHECK_CODE('''#include "../tests/readlink.c"''',
+ 'HAVE_BROKEN_READLINK',
+ msg='Checking for readlink breakage',
+ addmain=False,
+ execute=True)
+
conf.SET_TARGET_TYPE('sendfile', 'EMPTY')
conf.CHECK_LIB('sendfile')
if not Options.options.with_sendfile_support == False: