File tree Expand file tree Collapse file tree 6 files changed +18
-24
lines changed
Expand file tree Collapse file tree 6 files changed +18
-24
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,8 @@ model {
1717 libs(PrebuiltLibraries ) {
1818 gpg {
1919 headers. srcDir " ${ gpg_cpp_path} /include"
20- // StaticLibraryBinary does not work, use SharedLibraryBinary for now
21- binaries. withType(SharedLibraryBinary ) {
22- sharedLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
20+ binaries. withType(StaticLibraryBinary ) {
21+ staticLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
2322 }
2423 }
2524 }
@@ -38,7 +37,7 @@ model {
3837 main {
3938 jni {
4039 dependencies {
41- library " gpg"
40+ library " gpg" linkage " static "
4241 project " :cpufeatures" linkage " static"
4342 project " :native_app_glue" linkage " static"
4443 }
Original file line number Diff line number Diff line change @@ -16,9 +16,8 @@ model {
1616 libs(PrebuiltLibraries ) {
1717 gpg {
1818 headers. srcDir " ${ gpg_cpp_path} /include"
19- // StaticLibraryBinary does not work, use SharedLibraryBinary for now
20- binaries. withType(SharedLibraryBinary ) {
21- sharedLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
19+ binaries. withType(StaticLibraryBinary ) {
20+ staticLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
2221 }
2322 }
2423 }
@@ -39,7 +38,7 @@ model {
3938 main {
4039 jni {
4140 dependencies {
42- library " gpg"
41+ library " gpg" linkage " static "
4342 project " :cpufeatures" linkage " static"
4443 project " :native_app_glue" linkage " static"
4544 }
Original file line number Diff line number Diff line change @@ -16,9 +16,8 @@ model {
1616 libs(PrebuiltLibraries ) {
1717 gpg {
1818 headers. srcDir " ${ gpg_cpp_path} /include"
19- // StaticLibraryBinary does not work, use SharedLibraryBinary for now
20- binaries. withType(SharedLibraryBinary ) {
21- sharedLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
19+ binaries. withType(StaticLibraryBinary ) {
20+ staticLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
2221 }
2322 }
2423 }
@@ -40,7 +39,7 @@ model {
4039 main {
4140 jni {
4241 dependencies {
43- library " gpg"
42+ library " gpg" linkage " static "
4443 project " :native_app_glue" linkage " static"
4544 }
4645 source {
Original file line number Diff line number Diff line change @@ -16,9 +16,8 @@ model {
1616 libs(PrebuiltLibraries ) {
1717 gpg {
1818 headers. srcDir " ${ gpg_cpp_path} /include"
19- // StaticLibraryBinary does not work, use SharedLibraryBinary for now
20- binaries. withType(SharedLibraryBinary ) {
21- sharedLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
19+ binaries. withType(StaticLibraryBinary ) {
20+ staticLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
2221 }
2322 }
2423 }
@@ -42,7 +41,7 @@ model {
4241 main {
4342 jni {
4443 dependencies {
45- library " gpg"
44+ library " gpg" linkage " static "
4645 project " :cpufeatures" linkage " static"
4746 project " :native_app_glue" linkage " static"
4847 }
Original file line number Diff line number Diff line change @@ -16,9 +16,8 @@ model {
1616 libs(PrebuiltLibraries ) {
1717 gpg {
1818 headers. srcDir " ${ gpg_cpp_path} /include"
19- // StaticLibraryBinary does not work, use SharedLibraryBinary for now
20- binaries. withType(SharedLibraryBinary ) {
21- sharedLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
19+ binaries. withType(StaticLibraryBinary ) {
20+ staticLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
2221 }
2322 }
2423 }
@@ -38,7 +37,7 @@ model {
3837 main {
3938 jni {
4039 dependencies {
41- library " gpg"
40+ library " gpg" linkage " static "
4241 project " :cpufeatures" linkage " static"
4342 project " :native_app_glue" linkage " static"
4443 }
Original file line number Diff line number Diff line change @@ -16,9 +16,8 @@ model {
1616 libs(PrebuiltLibraries ) {
1717 gpg {
1818 headers. srcDir " ${ gpg_cpp_path} /include"
19- // StaticLibraryBinary does not work, use SharedLibraryBinary for now
20- binaries. withType(SharedLibraryBinary ) {
21- sharedLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
19+ binaries. withType(StaticLibraryBinary ) {
20+ staticLibraryFile = file(" ${ gpg_cpp_path} /lib/${ stlportType} /${ targetPlatform.getName()} /libgpg.a" )
2221 }
2322 }
2423 }
@@ -39,7 +38,7 @@ model {
3938 main {
4039 jni {
4140 dependencies {
42- library " gpg"
41+ library " gpg" linkage " static "
4342 project " :cpufeatures" linkage " static"
4443 project " :native_app_glue" linkage " static"
4544 }
You can’t perform that action at this time.
0 commit comments