diff options
Diffstat (limited to 'platform/javascript/SCsub')
-rw-r--r-- | platform/javascript/SCsub | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub index c1ba0c2283..cd96cf4f31 100644 --- a/platform/javascript/SCsub +++ b/platform/javascript/SCsub @@ -3,7 +3,8 @@ Import('env') javascript_files = [ "os_javascript.cpp", "audio_driver_javascript.cpp", - "javascript_main.cpp" + "javascript_main.cpp", + "audio_server_javascript.cpp" ] #obj = env.SharedObject('godot_javascript.cpp') @@ -16,6 +17,8 @@ javascript_objects=[] for x in javascript_files: javascript_objects.append( env_javascript.Object( x ) ) +env.Append(LINKFLAGS=["-s","EXPORTED_FUNCTIONS=\"['_main','_audio_server_mix_function','_main_after_fs_sync']\""]) + prog = None #env_javascript.SharedLibrary("#platform/javascript/libgodot_javascript.so",[javascript_objects]) |