Created
January 14, 2014 20:09
-
-
Save jlyonsmith/8424775 to your computer and use it in GitHub Desktop.
This is a shell script for running Mono's mkbundle on OSX Mountain Lion and above.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig | |
# | |
# See http://stackoverflow.com/questions/13979044/mkbundle-on-mac-with-mono-mono-metadata-mono-config-h-file-not-found?rq=1 | |
# | |
export AS="as -arch i386" | |
export CC="clang -arch i386 -mmacosx-version-min=10.6" | |
mkbundle --deps $* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great script!
quick question: after you produce you bundle app for MacOS, is there any easy way to deliver it as standard MacOS install? I couldn't find any obvious guide to achieve that. Thanks in advance.