changeset 447:1778edddeb0a v1.1pre3

Explicitly giving the sdk root should mean we don't need library validation any more (see #1993 Mac build environment has started producing improperly-signed plugins)
author Chris Cannam
date Tue, 30 Jun 2020 13:33:57 +0100
parents b20c5a3ae5e5
children 7d3378be8f47
files deploy/clean-build-and-package deploy/osx/Entitlements.plist noconfig.pri
diffstat 3 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/deploy/clean-build-and-package	Tue Jun 30 13:33:09 2020 +0100
+++ b/deploy/clean-build-and-package	Tue Jun 30 13:33:57 2020 +0100
@@ -16,6 +16,11 @@
 
 if [ -d /Applications ]; then
 
+    if [ ! -f Makefile ]; then 
+	echo "You must have run a routine normal build at least once before this, so I can see which Qt settings to use"
+	exit 1
+    fi
+
     qmake=$(grep '^# Command: ' Makefile | awk '{ print $3; }')
 
     echo "Proceed to rebuild, package, and sign version $version using"
--- a/deploy/osx/Entitlements.plist	Tue Jun 30 13:33:09 2020 +0100
+++ b/deploy/osx/Entitlements.plist	Tue Jun 30 13:33:57 2020 +0100
@@ -5,7 +5,5 @@
         <false/>
         <key>com.apple.security.device.audio-input</key>
         <true/>
-        <key>com.apple.security.cs.disable-library-validation</key>
-        <true/>
     </dict>
 </plist>
--- a/noconfig.pri	Tue Jun 30 13:33:09 2020 +0100
+++ b/noconfig.pri	Tue Jun 30 13:33:57 2020 +0100
@@ -132,6 +132,8 @@
     QMAKE_CXXFLAGS_RELEASE += -O3 -ffast-math -flto
     QMAKE_LFLAGS_RELEASE += -O3 -flto
 
+    QMAKE_LFLAGS_RELEASE += -isysroot $$QMAKE_MAC_SDK_PATH
+
     DEFINES += HAVE_COREAUDIO HAVE_VDSP
     LIBS += \
         -framework CoreAudio \