Skip to content

Instantly share code, notes, and snippets.

@jlyonsmith
Created January 14, 2014 20:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlyonsmith/8424775 to your computer and use it in GitHub Desktop.
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.
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 $*
@arocholl
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment