diff options
author | Matthieu Bouron <matthieu.bouron@gmail.com> | 2017-03-15 15:23:34 +0100 |
---|---|---|
committer | Matthieu Bouron <matthieu.bouron@gmail.com> | 2017-03-20 18:48:44 +0100 |
commit | d839c4716cdcecf3b46d05d0aec8f460cdb4ce23 (patch) | |
tree | 510599cc05e6d3f5f44879425706a4c79c2e241c /configure | |
parent | f91bf71d69d9d9edb4141988367e043357ec7ec7 (diff) | |
download | ffmpeg-streaming-d839c4716cdcecf3b46d05d0aec8f460cdb4ce23.zip ffmpeg-streaming-d839c4716cdcecf3b46d05d0aec8f460cdb4ce23.tar.gz |
configure: error out if jni is enabled and cannot be found
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -5751,7 +5751,7 @@ enabled frei0r && { check_header frei0r.h || die "ERROR: frei0r.h hea enabled gmp && require gmp gmp.h mpz_export -lgmp enabled gnutls && require_pkg_config gnutls gnutls/gnutls.h gnutls_global_init enabled jni && { [ $target_os = "android" ] && check_header jni.h && enabled pthreads && - check_lib "dlfcn.h" dlopen -ldl; } + check_lib "dlfcn.h" dlopen -ldl || die "ERROR: jni not found"; } enabled ladspa && { check_header ladspa.h || die "ERROR: ladspa.h header not found"; } enabled libiec61883 && require libiec61883 libiec61883/iec61883.h iec61883_cmp_connect -lraw1394 -lavc1394 -lrom1394 -liec61883 enabled libass && require_pkg_config libass ass/ass.h ass_library_init |