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/configure8
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/libs/luajit/configure b/Build/source/libs/luajit/configure
index 1c0ad48d980..78024324309 100755
--- a/Build/source/libs/luajit/configure
+++ b/Build/source/libs/luajit/configure
@@ -14372,6 +14372,14 @@ case $host_os:$host_cpu in #(
*) :
;;
esac
+case $host_os:$host_cpu:$CC in #(
+ *openbsd*:x86_64:clang* | *openbsd*:x86_64:cc) :
+ LIBLUAJIT_LDEXTRA='-lc++abi -lpthread' ;; #(
+ *openbsd*:i386:clang* | *openbsd*:i386:cc) :
+ LIBLUAJIT_LDEXTRA='-lc++abi -lpthread' ;; #(
+ *) :
+ ;;
+esac
if test "x$enable_build" != xno; then