Fixing dylib name for OSX
I don't know if the (15|16...) is supposed to work on OSX. I have "libmysqlclient.18.dylib" in my lib directory and get "could not load: libmysqlclient.(15|16|17[18).dylib" on execution. After removing the pattern I can run my little example program and it works as "libmysqlclient.dylib" is a softlink to the current version anyway.
This commit is contained in:
parent
a508055687
commit
743ad639d4
1 changed files with 1 additions and 1 deletions
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue