mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-30 22:42:03 +08:00
Couple improvements to the two Build.PL files
This commit is contained in:
parent
fc7e022003
commit
1edbf9c0a6
2
Build.PL
2
Build.PL
@ -29,6 +29,8 @@ my %prereqs = qw(
|
||||
my %recommends = qw(
|
||||
Class::XSAccessor 0
|
||||
Test::Harness 0
|
||||
Thread::Queue 0
|
||||
threads::shared 0
|
||||
);
|
||||
|
||||
my $sudo = grep { $_ eq '--sudo' } @ARGV;
|
||||
|
@ -24,7 +24,9 @@ if ($cpp_guess->is_gcc) {
|
||||
}
|
||||
my @ldflags = ();
|
||||
if ($^O eq 'darwin') {
|
||||
push @cflags, qw(-stdlib=libc++);
|
||||
if (!$cpp_guess->is_gcc) {
|
||||
push @cflags, qw(-stdlib=libc++);
|
||||
}
|
||||
push @ldflags, qw(-framework IOKit -framework CoreFoundation -lc++);
|
||||
|
||||
# Due to a bug/misconfiguration/stupidity, boost 1.52 and libc++ don't like each
|
||||
|
Loading…
x
Reference in New Issue
Block a user