From b6dcea013e439099328dd15fd4335bd71d3a04da Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 12 Oct 2019 01:19:45 +0200 Subject: MacOSX: Add build scripts and modifications to linking against wxWidgets 3.1.2 for non legacy build targeting OSX 10.9+ --- src/Main/Main.make | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/Main/Main.make') diff --git a/src/Main/Main.make b/src/Main/Main.make index 0bdd951d..9bf5b025 100755 --- a/src/Main/Main.make +++ b/src/Main/Main.make @@ -210,7 +210,11 @@ endif cp $(BASE_DIR)/../doc/html/* $(APPNAME).app/Contents/Resources/doc/HTML echo -n APPLTRUE >$(APPNAME).app/Contents/PkgInfo +ifdef VC_LEGACY_BUILD + sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.legacy.xml >$(APPNAME).app/Contents/Info.plist +else sed -e 's/_VERSION_/$(patsubst %a,%.1,$(patsubst %b,%.2,$(TC_VERSION)))/' ../Build/Resources/MacOSX/Info.plist.xml >$(APPNAME).app/Contents/Info.plist +endif codesign -s "Developer ID Application: IDRIX (Z933746L2S)" --timestamp $(APPNAME).app install: prepare -- cgit v1.2.3