aboutsummaryrefslogtreecommitdiff
path: root/mysql
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-06-15 18:40:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-06-15 18:40:46 +0300
commite01dfb62b6bd59ec59484636a5de4df91d379cc3 (patch)
treead50c79fa4c4d9274d6e8dd4f50dfbd7bf9a6284 /mysql
parent6eaf1962e89e5cd0769aa459af7bbd4aabf0574e (diff)
Buildfile minor refactoring
Diffstat (limited to 'mysql')
-rw-r--r--mysql/buildfile13
1 files changed, 5 insertions, 8 deletions
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 <mysql/mysql.h>.
#