Make the Xcode fix stuff conditional on being on a Darwin (ie MacOS) platform.

This commit is contained in:
Jeremy Rand 2020-11-23 00:09:56 -05:00
parent 782ce00f3f
commit 91e3749ebd
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ build: $(BUILDTARGET)
gen: xcodefix
xcodefix:
defaults write "$(ORCAM_PLUGIN_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)s -array `defaults read "$(XCODE_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)` || true
[ "`uname`" == Darwin ] && defaults write "$(ORCAM_PLUGIN_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)s -array `defaults read "$(XCODE_INFO)" $(XCODE_PLUGIN_COMPATIBILITY)` || true
clean: genclean
$(RM) "$(TARGETDIR)/$(PGM)" $(BINTARGET)