Load threads::shared before Wx. #1018

This commit is contained in:
Alessandro Ranellucci 2013-02-27 11:08:08 +01:00
parent 919d1131f8
commit bb83f070ae

View File

@ -18,7 +18,7 @@ sub debugf {
our $have_threads; our $have_threads;
BEGIN { BEGIN {
use Config; 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" warn "Running Slic3r under Perl >= 5.16 is not supported nor recommended\n"