mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-07 21:43:33 +00:00
Merge pull request #2108 from oderwat/patch-1
Fixing dylib name for OSX
This commit is contained in:
@@ -16,11 +16,11 @@ type
|
||||
TDbConn* = PMySQL ## encapsulates a database connection
|
||||
TRow* = seq[string] ## a row of a dataset. NULL database values will be
|
||||
## transformed always to the empty string.
|
||||
EDb* = object of EIO ## exception that is raised if a database error occurs
|
||||
EDb* = object of IOError ## exception that is raised if a database error occurs
|
||||
|
||||
TSqlQuery* = distinct string ## an SQL query string
|
||||
|
||||
FDb* = object of FIO ## effect that denotes a database operation
|
||||
FDb* = object of IOEffect ## effect that denotes a database operation
|
||||
FReadDb* = object of FDb ## effect that denotes a read operation
|
||||
FWriteDb* = object of FDb ## effect that denotes a write operation
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
when defined(Unix):
|
||||
when defined(macosx):
|
||||
const
|
||||
lib = "libmysqlclient.(15|16|17[18).dylib"
|
||||
lib = "libmysqlclient.(15|16|17|18).dylib"
|
||||
else:
|
||||
const
|
||||
lib = "libmysqlclient.so.(15|16|17|18)"
|
||||
|
||||
Reference in New Issue
Block a user