mirror of https://github.com/vitalif/openscad
Moved MACOSX_DEPLOYMENT_TARGET to the deploy script to allow building against the current system
parent
8635e94166
commit
e54d0cca6e
|
@ -79,14 +79,6 @@ macx {
|
||||||
APP_RESOURCES.files = OpenSCAD.sdef dsa_pub.pem icons/SCAD.icns
|
APP_RESOURCES.files = OpenSCAD.sdef dsa_pub.pem icons/SCAD.icns
|
||||||
QMAKE_BUNDLE_DATA += APP_RESOURCES
|
QMAKE_BUNDLE_DATA += APP_RESOURCES
|
||||||
LIBS += -framework Cocoa -framework ApplicationServices
|
LIBS += -framework Cocoa -framework ApplicationServices
|
||||||
|
|
||||||
# FIXME: Somehow, setting the deployment target to a lower version causes a
|
|
||||||
# seldom crash in debug mode (e.g. the minkowski2-test):
|
|
||||||
# frame #4: 0x00007fff8b7d5be5 libc++.1.dylib`std::runtime_error::~runtime_error() + 55
|
|
||||||
# frame #5: 0x0000000100150df5 OpenSCAD`CGAL::Uncertain_conversion_exception::~Uncertain_conversion_exception(this=0x0000000105044488) + 21 at Uncertain.h:78
|
|
||||||
# The reason for the crash appears to be linking with libgcc_s,
|
|
||||||
# but it's unclear what's really going on
|
|
||||||
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
TARGET = openscad
|
TARGET = openscad
|
||||||
|
|
|
@ -52,6 +52,14 @@ fi
|
||||||
# Turn off ccache, just for safety
|
# Turn off ccache, just for safety
|
||||||
PATH=${PATH//\/opt\/local\/libexec\/ccache:}
|
PATH=${PATH//\/opt\/local\/libexec\/ccache:}
|
||||||
|
|
||||||
|
# FIXME: Somehow, setting the deployment target to a lower version causes a
|
||||||
|
# seldom crash in debug mode (e.g. the minkowski2-test):
|
||||||
|
# frame #4: 0x00007fff8b7d5be5 libc++.1.dylib`std::runtime_error::~runtime_error() + 55
|
||||||
|
# frame #5: 0x0000000100150df5 OpenSCAD`CGAL::Uncertain_conversion_exception::~Uncertain_conversion_exception(this=0x0000000105044488) + 21 at Uncertain.h:78
|
||||||
|
# The reason for the crash appears to be linking with libgcc_s,
|
||||||
|
# but it's unclear what's really going on
|
||||||
|
export MACOSX_DEPLOYMENT_TARGET=10.6
|
||||||
|
|
||||||
# This is the same location as DEPLOYDIR in macosx-build-dependencies.sh
|
# This is the same location as DEPLOYDIR in macosx-build-dependencies.sh
|
||||||
export OPENSCAD_LIBRARIES=$PWD/../libraries/homebrew
|
export OPENSCAD_LIBRARIES=$PWD/../libraries/homebrew
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue