aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-01-03 22:02:32 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-01-03 22:02:32 +0000
commit980251cc5cdae1561d0de5152896d47191590af2 (patch)
treebf41f8ca2169eb309a0769c4b18580c07b978887
parentdee46c9e1faf98750496e04352b5b3411b979d2f (diff)
downloadusdx-980251cc5cdae1561d0de5152896d47191590af2.tar.gz
usdx-980251cc5cdae1561d0de5152896d47191590af2.tar.xz
usdx-980251cc5cdae1561d0de5152896d47191590af2.zip
enable build on Mac OS X, probably Linux, too
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/Lua@1549 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--src/lib/Lua/ULua.pas7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/Lua/ULua.pas b/src/lib/Lua/ULua.pas
index e05de12c..dfaaa37f 100644
--- a/src/lib/Lua/ULua.pas
+++ b/src/lib/Lua/ULua.pas
@@ -9,6 +9,10 @@ unit ULua;
interface
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
{$IFDEF UNIX}
uses
dl;
@@ -30,7 +34,8 @@ const
{$ENDIF}
{$IFDEF UNIX}
{$IFDEF DARWIN}
- LuaDLL = 'lua5.1.dylib';
+ LuaDLL = 'liblua.dylib';
+ {$linklib liblua}
{$ELSE}
LuaDLL = 'lua5.1.so';
{$ENDIF}