mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 14:02:03 +08:00
ExtUtils::CppGuess considers clang like GCC (+ two minor fixes/additions)
This commit is contained in:
parent
ca73765ad7
commit
efd9b4c187
@ -72,6 +72,8 @@ cp $SLIC3R_DIR/slic3r.pl $macosfolder/slic3r.pl
|
||||
cp -RP $SLIC3R_DIR/local-lib $macosfolder/local-lib
|
||||
cp -RP $SLIC3R_DIR/lib/* $macosfolder/local-lib/lib/perl5/
|
||||
find $macosfolder/local-lib -name man -type d -delete
|
||||
find $macosfolder/local-lib -name .packlist -delete
|
||||
rm -rf $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/Alien/wxWidgets/osx_cocoa_3_0_2_uni/include
|
||||
|
||||
echo "Relocating dylib paths..."
|
||||
for bundle in $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/auto/Wx/Wx.bundle $(find $macosfolder/local-lib/lib/perl5/darwin-thread-multi-2level/Alien/wxWidgets -name '*.dylib' -type f); do
|
||||
|
@ -24,9 +24,7 @@ if ($cpp_guess->is_gcc) {
|
||||
}
|
||||
my @ldflags = ();
|
||||
if ($^O eq 'darwin') {
|
||||
if (!$cpp_guess->is_gcc) {
|
||||
push @cflags, qw(-stdlib=libc++);
|
||||
}
|
||||
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
|
||||
|
@ -161,7 +161,6 @@ t/19_model.t
|
||||
t/20_print.t
|
||||
t/21_gcode.t
|
||||
t/22_exception.t
|
||||
t/23_config.t
|
||||
t/inc/22_config_bad_config_options.ini
|
||||
xsp/BoundingBox.xsp
|
||||
xsp/BridgeDetector.xsp
|
||||
|
Loading…
x
Reference in New Issue
Block a user