mirror of
https://github.com/wg/wrk
synced 2025-01-08 06:52:55 +08:00
make lua imports version independent
This commit is contained in:
parent
91655b5520
commit
9d71b2f6dd
3
Makefile
3
Makefile
@ -34,7 +34,8 @@ ifneq ($(WITH_LUAJIT),)
|
||||
CFLAGS += -I$(WITH_LUAJIT)/include
|
||||
LDFLAGS += -L$(WITH_LUAJIT)/lib
|
||||
else
|
||||
DEPS += $(ODIR)/lib/libluajit-5.1.a
|
||||
CFLAGS += -I$(ODIR)/include/luajit-2.0
|
||||
DEPS += $(ODIR)/lib/libluajit-5.1.a
|
||||
endif
|
||||
|
||||
ifneq ($(WITH_OPENSSL),)
|
||||
|
@ -2,9 +2,9 @@
|
||||
#define SCRIPT_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <luajit-2.0/lua.h>
|
||||
#include <luajit-2.0/lualib.h>
|
||||
#include <luajit-2.0/lauxlib.h>
|
||||
#include <lua.h>
|
||||
#include <lualib.h>
|
||||
#include <lauxlib.h>
|
||||
#include <unistd.h>
|
||||
#include "stats.h"
|
||||
#include "wrk.h"
|
||||
|
Loading…
Reference in New Issue
Block a user