summaryrefslogtreecommitdiff
path: root/Build/source/libs/luajit/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/luajit/configure')
-rwxr-xr-xBuild/source/libs/luajit/configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/configure b/Build/source/libs/luajit/configure
index fc14873d6cb..1aa50311226 100755
--- a/Build/source/libs/luajit/configure
+++ b/Build/source/libs/luajit/configure
@@ -5332,6 +5332,16 @@ fi ;; #(
*) :
;;
esac
+case $LJHOST in #(
+ Windows) :
+ echo '-DLUAJIT_OS=LUAJIT_OS_WINDOWS' >>native_flags ;; #(
+ Darwin | iOS) :
+ echo '-DLUAJIT_OS=LUAJIT_OS_OSX' >>native_flags ;; #(
+ Linux) :
+ echo '-DLUAJIT_OS=LUAJIT_OS_LINUX' >>native_flags ;; #(
+ *) :
+ echo '-DLUAJIT_OS=LUAJIT_OS_OTHER' >>native_flags ;;
+esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LJHOST $LJARCH $DASM_ARCH" >&5
$as_echo "$LJHOST $LJARCH $DASM_ARCH" >&6; }