Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Created January 7, 2016 12:25
Show Gist options
  • Save rolfbjarne/0283327e3b1ded194f60 to your computer and use it in GitHub Desktop.
Save rolfbjarne/0283327e3b1ded194f60 to your computer and use it in GitHub Desktop.
diff --git a/src/CommonCrypto/Makefile b/src/CommonCrypto/Makefile
index 0e6764d..6b280b1 100644
--- a/src/CommonCrypto/Makefile
+++ b/src/CommonCrypto/Makefile
@@ -1,8 +1,14 @@
ifeq ($(SYSTEM_MCS),)
SYSTEM_MCS=/Library/Frameworks/Mono.framework/Commands/mcs
+ifeq ("$(wildcard $(SYSTEM_MCS))","")
+SYSTEM_MCS=mcs
+endif
endif
ifeq ($(SYSTEM_MONO),)
SYSTEM_MONO=/Library/Frameworks/Mono.framework/Commands/mono
+ifeq ("$(wildcard $(SYSTEM_MONO))","")
+SYSTEM_MONO=mono
+endif
endif
all:: stamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment