diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2019-05-31 16:05:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-31 16:05:45 +0300 |
commit | 9d660b556e83746ea780380fb032d5d0ba003444 (patch) | |
tree | 6e96afd8eb336e8fd560f12a5b66987f92f14f3f /main/build | |
parent | 4e10af1a49a584aa6956c550ab6f4ad7e075da0d (diff) |
[Build] Bump minimum deployment OS version to 10.12 (#7690)
* Bump minimum OS version to 10.12
* Simplify min os version targeting
Diffstat (limited to 'main/build')
-rw-r--r-- | main/build/MacOSX/Info.plist.in | 2 | ||||
-rw-r--r-- | main/build/MacOSX/Makefile.am | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/main/build/MacOSX/Info.plist.in b/main/build/MacOSX/Info.plist.in index dad2a0f320..3ffa679dd3 100644 --- a/main/build/MacOSX/Info.plist.in +++ b/main/build/MacOSX/Info.plist.in @@ -211,7 +211,7 @@ <key>LSApplicationCategoryType</key> <string>public.app-category.developer-tools</string> <key>LSMinimumSystemVersion</key> - <string>10.11</string> + <string>10.12</string> <key>CFBundleIdentifier</key> <string>com.xamarin.monodevelop</string> <key>CFBundleInfoDictionaryVersion</key> diff --git a/main/build/MacOSX/Makefile.am b/main/build/MacOSX/Makefile.am index c5d5940b0f..37d22f0e65 100644 --- a/main/build/MacOSX/Makefile.am +++ b/main/build/MacOSX/Makefile.am @@ -25,7 +25,7 @@ CLEANFILES = render.exe monostub monostub-test EXTRA_DIST = dmg-bg.png DS_Store Info.plist.in make-dmg-bundle.sh render.cs MONOSTUB_EXTRA_SOURCEFILES = monostub-utils.h -MIN_MACOS_VERSION=10.11 +export MACOSX_DEPLOYMENT_TARGET=10.12 all: monostub monostub-nogui monostub-test @@ -36,23 +36,23 @@ dmg: render.exe app ./make-dmg-bundle.sh monostub.o: monostub.mm $(MONOSTUB_EXTRA_SOURCEFILES) - g++ -g $(HYBRID_SUSPEND_ABORT) -c -Wall -mmacosx-version-min=$(MIN_MACOS_VERSION) -m$(MONOSTUB_ARCH) -o $@ monostub.mm + g++ -g $(HYBRID_SUSPEND_ABORT) -c -Wall -m$(MONOSTUB_ARCH) -o $@ monostub.mm monostub-nogui.o: monostub.mm $(MONOSTUB_EXTRA_SOURCEFILES) - g++ -g $(HYBRID_SUSPEND_ABORT) -DNOGUI -c -Wall -mmacosx-version-min=$(MIN_MACOS_VERSION) -m$(MONOSTUB_ARCH) -o $@ monostub.mm + g++ -g $(HYBRID_SUSPEND_ABORT) -DNOGUI -c -Wall -m$(MONOSTUB_ARCH) -o $@ monostub.mm monostub: monostub.o $(MONOSTUB_STATIC_LINK) - clang++ -g -Wall -mmacosx-version-min=$(MIN_MACOS_VERSION) -m$(MONOSTUB_ARCH) -o $@ -Wl,-all_load $^ -framework AppKit -framework Quartz -undefined dynamic_lookup + clang++ -g -Wall -m$(MONOSTUB_ARCH) -o $@ -Wl,-all_load $^ -framework AppKit -framework Quartz -undefined dynamic_lookup mkdir -p ../bin cp $@ ../bin/MonoDevelop monostub-nogui: monostub-nogui.o $(MONOSTUB_STATIC_LINK) - clang++ -g -Wall -mmacosx-version-min=$(MIN_MACOS_VERSION) -m$(MONOSTUB_ARCH) -o $@ -Wl,-all_load $^ -framework AppKit -framework Quartz -undefined dynamic_lookup + clang++ -g -Wall -m$(MONOSTUB_ARCH) -o $@ -Wl,-all_load $^ -framework AppKit -framework Quartz -undefined dynamic_lookup mkdir -p ../bin cp $@ ../bin/mdtool monostub-test: monostub-test.m $(MONOSTUB_EXTRA_SOURCEFILES) - gcc -g -Wall -mmacosx-version-min=$(MIN_MACOS_VERSION) -m$(MONOSTUB_ARCH) -o $@ monostub-test.m -framework AppKit + gcc -g -Wall -m$(MONOSTUB_ARCH) -o $@ monostub-test.m -framework AppKit ./monostub-test clean-local: |