Load threads::shared before Wx. #1018
This commit is contained in:
parent
919d1131f8
commit
bb83f070ae
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user