diff options
author | wm4 <wm4@nowhere> | 2017-06-27 12:37:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-29 10:30:13 +0200 |
commit | 70a70b9da347d7ef25a9862af83731b9b0a0d3f1 (patch) | |
tree | 541ad35c45560d81498fe246de1a6f70f5a8265f /wscript | |
parent | 0b77f6fd229f537a309f1d5b37469392e65d279e (diff) |
build: replace glob() check and assume it's always in POSIX
POSIX requires glob(), so no need to check for it. Together with the
fact that we can emulate glob() on Windows, glob() is always available.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -208,13 +208,9 @@ iconv support use --disable-iconv.", 'func': check_true, 'deps_any': ['posix-spawn', 'mingw'], }, { - 'name': 'glob', - 'desc': 'glob()', - 'func': check_statement('glob.h', 'glob("filename", 0, 0, 0)') - }, { - 'name': 'glob-win32-replacement', + 'name': 'glob-win32', 'desc': 'glob() win32 replacement', - 'deps_neg': [ 'glob' ], + 'deps_neg': [ 'posix' ], 'deps_any': [ 'os-win32', 'os-cygwin' ], 'func': check_true }, { |