Skip to content

Commit

Permalink
wscript: clarify that higher versions of opus also accepted in a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jun 21, 2023
1 parent 3533b0d commit b29b3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wscript
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ int main(int argc, char **argv) { strchrnul(argv[1], 'x'); return 0; }'''
conf.env.SHAREDIR = conf.env.LIBDIR = conf.env.BINDIR = conf.env.PREFIX

if not conf.options.BUILD_BUNDLED_DEPS:
# search for exact version of opus, 1.4 has fixes for custom modes
# search for opus 1.4 or higher, it has fixes for custom modes
if conf.check_cfg(package='opus', uselib_store='opus', args='opus >= 1.4 --cflags --libs', mandatory=False):
# now try to link with export that only exists with CUSTOM_MODES defined
frag='''#include <opus_custom.h>
Expand Down

0 comments on commit b29b3d5

Please sign in to comment.