mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-19 20:32:15 +02:00
obs-scripting: Search native libraries in Lua script's location
This commit is contained in:
parent
433912f04a
commit
e0bc8a8c9c
1
deps/obs-scripting/obs-scripting-lua.c
vendored
1
deps/obs-scripting/obs-scripting-lua.c
vendored
@ -52,6 +52,7 @@ static const char *get_script_path_func = "\
|
||||
function script_path()\n\
|
||||
return \"%s\"\n\
|
||||
end\n\
|
||||
package.cpath = package.cpath .. \";\" .. script_path() .. \"/?." SO_EXT "\"\n\
|
||||
package.path = package.path .. \";\" .. script_path() .. \"/?.lua\"\n";
|
||||
|
||||
static char *startup_script = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user