Skip to content

Commit

Permalink
hello-thirdparty: add stl in ldLibs
Browse files Browse the repository at this point in the history
  • Loading branch information
proppy committed Sep 14, 2015
1 parent a08ca52 commit ebaba76
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion hello-thirdparty/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ model {
moduleName = "native-activity"
cppFlags += "-I${file("src/main/jni")}".toString()
cppFlags += "-I${gpg_sdk_path}/include".toString()
ldLibs += ["log", "android", "EGL", "GLESv1_CM", "gpg", "z"]
stl = "c++_static"
ldLibs += ["log", "android", "EGL", "GLESv1_CM", "z"]
//
// NOTE: since libgpg is also linked to the stl:
// libc++ explicitly follows it in the list of libraries
// to prevent unresolved stl symbols.
//
ldLibs += ["gpg", "c++_static"]
}
android.buildTypes {
release {
Expand Down

0 comments on commit ebaba76

Please sign in to comment.