summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkali <kali@leap.se>2020-10-07 19:28:24 +0200
committerRuben Pollan <meskio@sindominio.net>2020-10-13 19:08:49 +0200
commitc77ba97502da5c954447abf738ab78108d1b0892 (patch)
tree01d16e3a28b4bd60e6bfd63206d730a19415d1bc
parent8d27403228b0782e135d5c5d5d97ec54785cfae3 (diff)
[pkg] target osx 10.11
-rw-r--r--bitmask.pro2
-rwxr-xr-xgui/build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bitmask.pro b/bitmask.pro
index 98860e4..29b13ee 100644
--- a/bitmask.pro
+++ b/bitmask.pro
@@ -4,7 +4,7 @@ CONFIG += qt staticlib
windows:CONFIG += console
unix:DEBUG:CONFIG += debug
lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.12
+QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
macx {
LIBS += -framework Security
diff --git a/gui/build.sh b/gui/build.sh
index a6c0a22..080b1fe 100755
--- a/gui/build.sh
+++ b/gui/build.sh
@@ -3,6 +3,7 @@ set -e
set -x
XBUILD=${XBUILD-no}
+OSX_TARGET=10.11
WIN64="win64"
GO=`which go`
@@ -45,7 +46,6 @@ function buildGoLib {
$GO generate ./pkg/config/version/genver/gen.go
if [ "$PLATFORM" == "Darwin" ]
then
- OSX_TARGET=10.12
GOOS=darwin
CC=clang
CGO_CFLAGS="-g -O2 -mmacosx-version-min=$OSX_TARGET"