Skip to content

Commit 2b1e66a

Browse files
committed
Fix loading native shared libraries.
Fixes #33
1 parent 393f5a4 commit 2b1e66a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ android {
1717
}
1818
externalNativeBuild {
1919
ndkBuild {
20-
arguments "LOCAL_LDFLAGS+=-Wl,--build-id=none"
21-
cFlags "-ffile-prefix-map=${rootDir}=."
20+
arguments "APP_CFLAGS+=-DPKGNAME=hev/sockstun -ffile-prefix-map=${rootDir}=."
21+
arguments "APP_LDFLAGS+=-Wl,--build-id=none"
2222
}
2323
}
2424
}

0 commit comments

Comments
 (0)