summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index de9f09922..b7e8068e1 100644
--- a/wscript
+++ b/wscript
@@ -307,8 +307,9 @@ def configure(conf):
int main () { av_ebur128_get_true_peaks (0); }\n
""",
msg='Checking for patched FFmpeg',
- libpath='/usr/local/lib',
- lib=['avfilter'],
+ libpath=conf.env['LIBPATH_AVFORMAT'],
+ lib=['avfilter', 'avutil', 'swresample'],
+ includes=conf.env['INCLUDES_AVFORMAT'],
uselib_store='PATCHED_FFMPEG',
define_name='DCPOMATIC_HAVE_PATCHED_FFMPEG',
mandatory=False)