variable dynamic lib names

This commit is contained in:
Andreas Rumpf
2009-12-15 01:50:26 +01:00
parent 3b7ef2288f
commit 7063670a2c
14 changed files with 504 additions and 766 deletions

View File

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

View File

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