From 8790bc4c5e4c0f2a8b90be09391fa563398dc935 Mon Sep 17 00:00:00 2001 From: starkos Date: Fri, 9 Jan 2009 20:31:46 +0000 Subject: Fixed nil variable reference in os.findlib() on Linux --- samples/project/premake4.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'samples') diff --git a/samples/project/premake4.lua b/samples/project/premake4.lua index 369ee49..2cd9f31 100644 --- a/samples/project/premake4.lua +++ b/samples/project/premake4.lua @@ -40,4 +40,7 @@ solution "PremakeTestbox" execute = function () os.copyfile("premake4.lua", "../premake4.lua") end - } \ No newline at end of file + } + +print(os.findlib("Xlib")) + -- cgit v1.2.3