From 579e909e7395e54a1016757fd0ef1e56d4094876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1ll=20Haraldsson?= Date: Fri, 5 Jun 2020 12:14:26 +0000 Subject: [PATCH] Faster startup --- src/FFMPEG_jll.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/FFMPEG_jll.jl b/src/FFMPEG_jll.jl index e3415d3..ededc11 100644 --- a/src/FFMPEG_jll.jl +++ b/src/FFMPEG_jll.jl @@ -1,5 +1,9 @@ module FFMPEG_jll +if isdefined(Base, :Experimental) && isdefined(Base.Experimental, Symbol("@optlevel")) + @eval Base.Experimental.@optlevel 1 +end + if VERSION < v"1.3.0-rc4" # We lie a bit in the registry that JLL packages are usable on Julia 1.0-1.2. # This is to allow packages that might want to support Julia 1.0 to get the