wscript: look for system provided vorbis and opus dependencies

In some configuration, like Flatpak, on dev machines or when packaging for *nix
we can safely link with system libraries.
This commit is contained in:
Alibek Omarov
2024-12-02 18:47:48 +03:00
parent 3661af921e
commit c39d2e243a
2 changed files with 12 additions and 5 deletions

View File

@@ -141,7 +141,7 @@ def build(bld):
bld(name = 'engine_includes', export_includes = '. common common/imagelib', use = 'filesystem_includes')
is_cxx_link = False
libs = [ 'engine_includes', 'public', 'dllemu', 'werror', 'opus', 'libvorbisfile', 'libopusfile' ]
libs = [ 'engine_includes', 'public', 'dllemu', 'werror', 'opus', 'libvorbis', 'libvorbisfile', 'libopusfile' ]
# basic build: dedicated only
source = bld.path.ant_glob([