Statically link the mpw library.
This commit is contained in:
parent
7202fe6d1d
commit
00744cb264
@ -35,7 +35,7 @@ library {
|
|||||||
}
|
}
|
||||||
withType( GccCompatibleToolChain ) {
|
withType( GccCompatibleToolChain ) {
|
||||||
eachPlatform {
|
eachPlatform {
|
||||||
cppCompiler.withArguments { addAll( ['-x', 'c', '-O3', '-std=c11', '-Werror', '-DMPW_SODIUM=1'] ) }
|
cppCompiler.withArguments { addAll( ['-x', 'c', '-static', '-O3', '-Werror', '-DMPW_SODIUM=1'] ) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user