mirror of
https://github.com/lutris/lutris
synced 2024-09-04 23:13:35 +00:00
Conditionally load ld_library_path for scummvm
This commit is contained in:
parent
4ad7625069
commit
401c24743d
|
@ -522,7 +522,11 @@ class scummvm(Runner):
|
|||
for arg in split_arguments(args):
|
||||
command.append(arg)
|
||||
command.append(self.game_config.get("game_id"))
|
||||
return {"command": command, "ld_library_path": self.libs_dir}
|
||||
output = {"command": command}
|
||||
extra_libs = self.get_extra_libs()
|
||||
if extra_libs:
|
||||
output["ld_library_path"] = extra_libs
|
||||
return output
|
||||
|
||||
def get_game_list(self):
|
||||
"""Return the entire list of games supported by ScummVM."""
|
||||
|
|
Loading…
Reference in a new issue