Changeset View
Changeset View
Standalone View
Standalone View
devel/rlvm/files/patch-SConscript.luarlvm
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- SConscript.luarlvm~ | |||||
+++ SConscript.luarlvm | |||||
@@ -31,7 +31,7 @@ config = test_env.Configure() | |||||
# Building the luaRlvm test harness requires having lua installed; if we do | |||||
# have lua installed, go ahead and use it, but don't really worry if this fails | |||||
# since end users don't use this binary. | |||||
-if config.CheckLibWithHeader('lua5.1', 'lua5.1/lua.h', 'cpp'): | |||||
+if config.CheckLibWithHeader('lua-5.1', 'lua51/lua.h', 'cpp'): | |||||
env['BUILD_LUA_TESTS'] = True | |||||
else: | |||||
print "Not building luaRlvm. (Don't worry, it's only a testing tool!)" | |||||
@@ -50,7 +50,7 @@ script_machine_files = [ | |||||
] | |||||
if env['BUILD_LUA_TESTS'] == True: | |||||
- test_env.Append(CPPPATH = [ "/usr/include/lua5.1" ] ) | |||||
+ test_env.Append(CPPPATH = [ env['ENV']['LUA_INCDIR'] ] ) | |||||
# Build our included copy of luabind. | |||||
test_env.BuildSubcomponent("luabind") |