diff options
Diffstat (limited to 'mysql')
-rw-r--r-- | mysql/buildfile | 13 |
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>. # |