summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfalkTX <falktx@falktx.com>2021-07-28 20:23:17 +0100
committerfalkTX <falktx@falktx.com>2021-07-28 20:23:17 +0100
commitcaf336a6bc68ad0a8414ce1b6e40d40707cbc873 (patch)
treee9a0eec7a50f868a93917a71aa44d3b32ab55346
parent685177d5ca60041e15dd6628292f4fd65877ded3 (diff)
downloadjack2-caf336a6bc68ad0a8414ce1b6e40d40707cbc873.tar.gz
Fix custom win32 detection, fixes missing HAVE_ASIO macro
Signed-off-by: falkTX <falktx@falktx.com>
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index e4494ffe..174e81c0 100644
--- a/wscript
+++ b/wscript
@@ -218,7 +218,7 @@ def configure(conf):
if conf.env['IS_WINDOWS']:
conf.env.append_unique('CCDEFINES', '_POSIX')
conf.env.append_unique('CXXDEFINES', '_POSIX')
- if Options.options.platform == 'msys':
+ if Options.options.platform in ('msys', 'win32'):
conf.env.append_value('INCLUDES', ['/mingw64/include'])
conf.check(
header_name='asio.h',
@@ -388,7 +388,7 @@ def configure(conf):
# existing install paths that use ADDON_DIR rather than have to
# have special cases for windows each time.
conf.env['ADDON_DIR'] = conf.env['LIBDIR'] + '/jack'
- if Options.options.platform == 'msys':
+ if Options.options.platform in ('msys', 'win32'):
conf.define('ADDON_DIR', 'jack')
conf.define('__STDC_FORMAT_MACROS', 1) # for PRIu64
else: