mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-09 14:13:30 +02:00
Cleanup Windows libs
This commit is contained in:
@@ -2,12 +2,12 @@ model {
|
|||||||
repositories {
|
repositories {
|
||||||
libs(PrebuiltLibraries) {
|
libs(PrebuiltLibraries) {
|
||||||
mysql {
|
mysql {
|
||||||
headers.srcDir "$mysql32Home/include"
|
|
||||||
binaries.withType(StaticLibraryBinary) {
|
binaries.withType(StaticLibraryBinary) {
|
||||||
def libName = "foobar"
|
def libName = "foobar"
|
||||||
if (buildType == buildTypes.debug) {
|
if (buildType == buildTypes.debug) {
|
||||||
libName = 'libmysqld.lib'
|
libName = 'libmysqld.lib'
|
||||||
if (targetPlatform.name == 'win32') {
|
if (targetPlatform.name == 'win32') {
|
||||||
|
headers.srcDir "$mysql32Home/include"
|
||||||
staticLibraryFile = file("$mysql32Home/lib/$libName")
|
staticLibraryFile = file("$mysql32Home/lib/$libName")
|
||||||
} else
|
} else
|
||||||
if (targetPlatform.name == 'win64') {
|
if (targetPlatform.name == 'win64') {
|
||||||
|
Reference in New Issue
Block a user