forked from pool/lua-toluapp
fix build with newer scons OBS-URL: https://build.opensuse.org/request/show/810965 OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-toluapp?expand=0&rev=21
15 lines
368 B
Diff
15 lines
368 B
Diff
Index: b/src/tests/SCsub
|
|
===================================================================
|
|
--- a/src/tests/SCsub
|
|
+++ b/src/tests/SCsub
|
|
@@ -1,5 +1,8 @@
|
|
Import('env')
|
|
-env_tests = env.Copy()
|
|
+try:
|
|
+ env_tests = env.Copy()
|
|
+except AttributeError:
|
|
+ env_tests = env.Clone()
|
|
|
|
env_tests.LuaBinding('tclassbind.cpp', 'tclass.pkg', 'tclass', use_own=1, use_typeid=1)
|
|
|