mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
variable dynamic lib names
This commit is contained in:
@@ -145,12 +145,12 @@ type
|
||||
E_Base* {.compilerproc.} = object of TObject ## base exception class;
|
||||
## each exception has to
|
||||
## inherit from `E_Base`.
|
||||
name*: cstring ## The exception's name is its Nimrod identifier.
|
||||
name: cstring ## The exception's name is its Nimrod identifier.
|
||||
## This field is filled automatically in the
|
||||
## ``raise`` statement.
|
||||
msg* {.exportc: "message".}: cstring ## the exception's message. Not
|
||||
## providing an
|
||||
## exception message is bad style.
|
||||
msg* {.exportc: "message".}: string ## the exception's message. Not
|
||||
## providing an exception message
|
||||
## is bad style.
|
||||
|
||||
EAsynch* = object of E_Base ## Abstract exception class for
|
||||
## *asynchronous exceptions* (interrupts).
|
||||
|
||||
@@ -41,8 +41,8 @@ when defined(MACOSX):
|
||||
LUA_LIB_NAME* = "liblua(|5.2|5.1|5.0).dylib"
|
||||
elif defined(UNIX):
|
||||
const
|
||||
LUA_NAME* = "liblua(|5.2|5.1|5.0).so.(|0)"
|
||||
LUA_LIB_NAME* = "liblua(|5.2|5.1|5.0).so.(|0)"
|
||||
LUA_NAME* = "liblua(|5.2|5.1|5.0).so(|.0)"
|
||||
LUA_LIB_NAME* = "liblua(|5.2|5.1|5.0).so(|.0)"
|
||||
else:
|
||||
const
|
||||
LUA_NAME* = "lua(|5.2|5.1|5.0).dll"
|
||||
|
||||
Reference in New Issue
Block a user