552c68049e
Tolua++ is an extended version of tolua, a tool to integrate C/C++ code with Lua. tolua++ includes new features oriented to c++ such as: * Support for std::string as a basic type (this can be turned off by a command line option). * Support for class templates As well as other features and bugfixes. tolua is a tool that greatly simplifies the integration of C/C++ code with Lua. Based on a cleaned header file (or extracts from real header files), tolua automatically generates the binding code to access C/C++ features from Lua. Using Lua API and tag method facilities, tolua maps C/C++ constants, external variables, functions, classes, and methods to Lua.
20 lines
687 B
Text
20 lines
687 B
Text
$NetBSD: patch-src_lib_SCsub,v 1.1.1.1 2012/05/08 09:34:17 imil Exp $
|
|
|
|
Create shared object.
|
|
|
|
--- src/lib/SCsub.orig 2008-04-21 00:05:35.000000000 +0000
|
|
+++ src/lib/SCsub
|
|
@@ -9,10 +9,6 @@ sources = [
|
|
'tolua_to.c',
|
|
]
|
|
|
|
-env.lib_target_static = env.Library('#/lib/'+env['tolua_lib']+'_static', sources)
|
|
-
|
|
-if env['shared']:
|
|
- env.lib_target = env.SharedLibrary('#lib/'+env['tolua_lib'], sources)
|
|
-else:
|
|
- env.lib_target = env.Library('#/lib/'+env['tolua_lib'], sources)
|
|
-
|
|
+env.lib_target_static = env.Library('#/lib/'+env['tolua_lib'], sources)
|
|
+env.lib_target = env.Library('#/lib/'+env['tolua_lib'], sources)
|
|
+env.lib_target += env.SharedLibrary('#/lib/'+env['tolua_lib'], sources)
|