From f2758699d60e0c073a83c0e2aed1faf23e35065f Mon Sep 17 00:00:00 2001 From: olsner Date: Fri, 28 Jan 2005 17:37:21 +0000 Subject: [PATCH] Some fixes for the unix parts of premake.lua This was SVN commit r1849. --- build/premake/premake.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/build/premake/premake.lua b/build/premake/premake.lua index 08db5ad560..483b40d2cb 100755 --- a/build/premake/premake.lua +++ b/build/premake/premake.lua @@ -113,11 +113,9 @@ function setuppackage (projectname) tinsert(package.includepaths, sourceroot .. v) end) - package.libpaths = {} - - package.buildflags = { "no-rtti" } + package.buildflags = { } package.config["Testing"].buildflags = { "with-symbols", "no-runtime-checks", "no-edit-and-continue" } package.config["Testing"].defines = { "TESTING" } @@ -213,12 +211,12 @@ function setuppackage (projectname) package.links = { -- OpenGL and X-Windows "GL", "GLU", "X11", - "SDL", "png", + "SDL", "png", "jpeg", "fam", -- Audio "openal", "vorbisfile", -- Utilities - "xerces-c", "z", "rt", "js" + "xerces-c", "z", "pthread", "rt", "js" } tinsert(package.libpaths, { "/usr/X11R6/lib" } ) -- Defines @@ -230,4 +228,6 @@ function setuppackage (projectname) end setuppackage("pyrogenesis") -setuppackage("sced") \ No newline at end of file +if (OS == "windows") then + setuppackage("sced") +end