diff --git a/lib/Slic3r.pm b/lib/Slic3r.pm index f9fb3319d..7d1c4dd67 100644 --- a/lib/Slic3r.pm +++ b/lib/Slic3r.pm @@ -18,7 +18,7 @@ sub debugf { our $have_threads; BEGIN { use Config; - $have_threads = $Config{useithreads} && eval "use threads; use Thread::Queue; 1"; + $have_threads = $Config{useithreads} && eval "use threads; use threads::shared; use Thread::Queue; 1"; } warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n"