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:
Hans Raaf 2015-02-11 20:54:34 +01:00
commit 743ad639d4

View file

@ -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)"