Cleanup Windows libs

This commit is contained in:
Francis ANDRE 2018-03-29 20:47:12 +02:00
parent efe575015d
commit 530e7b585a

View File

@ -2,12 +2,12 @@ model {
repositories {
libs(PrebuiltLibraries) {
mysql {
headers.srcDir "$mysql32Home/include"
binaries.withType(StaticLibraryBinary) {
def libName = "foobar"
if (buildType == buildTypes.debug) {
libName = 'libmysqld.lib'
if (targetPlatform.name == 'win32') {
headers.srcDir "$mysql32Home/include"
staticLibraryFile = file("$mysql32Home/lib/$libName")
} else
if (targetPlatform.name == 'win64') {