diff options
author | Karl Linden <karl.j.linden@gmail.com> | 2018-10-06 16:36:32 +0200 |
---|---|---|
committer | Karl Linden <karl.j.linden@gmail.com> | 2018-10-06 16:36:32 +0200 |
commit | a18319571ac0fc1eaa8678e6ad060556e1d6e756 (patch) | |
tree | 03ee0261ddf42f6b361a4f617580480cb7fe7deb | |
parent | b976852d0b9074f1b13af3f2e3e2af6d22952a06 (diff) | |
download | jack2-a18319571ac0fc1eaa8678e6ad060556e1d6e756.tar.gz |
Fix check for opus
Closes: 176
-rw-r--r-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -135,13 +135,17 @@ def options(opt): 'celt', help='Build with CELT') celt.add_function(check_for_celt) + + # Suffix _PKG to not collide with HAVE_OPUS defined by the option. opus = opt.add_auto_option( 'opus', help='Build Opus netjack2') opus.check(header_name='opus/opus_custom.h') opus.check_cfg( package='opus >= 0.9.0', - args='--cflags --libs') + args='--cflags --libs', + define_name='HAVE_OPUS_PKG') + samplerate = opt.add_auto_option( 'samplerate', help='Build with libsamplerate') |