From e01dfb62b6bd59ec59484636a5de4df91d379cc3 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 15 Jun 2018 18:40:46 +0300 Subject: Buildfile minor refactoring --- mysql/buildfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'mysql') diff --git a/mysql/buildfile b/mysql/buildfile index 26dc15c..09b4987 100644 --- a/mysql/buildfile +++ b/mysql/buildfile @@ -226,14 +226,11 @@ if ($tclass != 'windows') c.libs += -liconv } else -{ - libs = ws2_32 shlwapi advapi32 version # secur32 - - if ($tsys == 'mingw32') - c.libs += $regex.apply($libs, '(.+)', '-l\1') - else - c.libs += $regex.apply($libs, '(.+)', '\1.lib') -} + # @@ secur32 + # + c.libs += $regex.apply(ws2_32 shlwapi advapi32 version, \ + '(.+)', \ + $tsys == 'mingw32' ? '-l\1' : '\1.lib') # The library clients must include the API header as . # -- cgit v1.1