Skip to content

Commit

Permalink
use canonical include flags for luajit
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre authored and Frenzie committed Aug 7, 2024
1 parent 5393d61 commit 98640d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jni/luajit/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ include $(CLEAR_VARS)

LOCAL_MODULE := luajit
LOCAL_SRC_FILES := build/$(TARGET_ARCH_ABI)/lib/libluajit.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/build/$(TARGET_ARCH_ABI)/include
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/build/$(TARGET_ARCH_ABI)/include/luajit-2.1

include $(PREBUILT_SHARED_LIBRARY)
6 changes: 3 additions & 3 deletions jni/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "android_native_app_glue.h"
#include "jni_helper.h"

#include "luajit-2.1/lua.h"
#include "luajit-2.1/lualib.h"
#include "luajit-2.1/lauxlib.h"
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"

#define TAG "NativeThread"

Expand Down

0 comments on commit 98640d7

Please sign in to comment.