summaryrefslogtreecommitdiff
path: root/core/detect
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-29 23:00:43 +0800
committerruki <[email protected]>2021-06-29 23:00:43 +0800
commitcb649335c48292c2b496b00357d6b65b1920da13 (patch)
treeddc17f0e298dcee3c816adf5b619d1353738b662 /core/detect
parent8f2b7f27a75d33fed60e9d7037f895bfb7d6434e (diff)
improve makefile
Diffstat (limited to 'core/detect')
-rw-r--r--core/detect/luajit.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/detect/luajit.c b/core/detect/luajit.c
new file mode 100644
index 000000000..96e8c0ccc
--- /dev/null
+++ b/core/detect/luajit.c
@@ -0,0 +1,7 @@
+#include <luajit.h>
+
+int main()
+{
+ lua_pcall(0, 0, 0, 0);
+ return 0;
+}