Skip to content

Commit f0e987c

Browse files
committed
Update native location to lib/jni.
1 parent 2214451 commit f0e987c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

argparser.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -395,13 +395,13 @@ void ArgParser::prepareOptions() {
395395

396396
option = OPT_JFFI_PATH;
397397
#ifdef WIN32
398-
option += (platformDir + "\\lib\\native;"
399-
+ platformDir + "\\lib\\native\\i386-Windows;"
400-
+ platformDir + "\\lib\\native\\x86_64-Windows");
398+
option += (platformDir + "\\lib\\jni;"
399+
+ platformDir + "\\lib\\jni\\i386-Windows;"
400+
+ platformDir + "\\lib\\jni\\x86_64-Windows");
401401
#else
402402
struct utsname name;
403403
if (uname(&name) == 0) {
404-
string ffiBase(platformDir + "/lib/native");
404+
string ffiBase(platformDir + "/lib/jni");
405405
string ffiPath = ffiBase;
406406
DIR* dir = opendir(ffiBase.c_str());
407407
struct dirent* ent;

0 commit comments

Comments
 (0)