[Mono-osx] Is there a way to trim stuff from macpack?

Grzegorz Adam Hankiewicz gradha at titanium.sabren.com
Mon Jan 31 19:29:46 EST 2011


Hello.

I've been successful creating a contained commandline binary sized 3.6MB. Now I've tried to retry the same with macpack so that users can double click on the binary from the finder but this pulls in all the libraries from /Library/Frameworks/Mono.framework/Versions/Current/lib/, increasing the size of the bundle to 240MB.

Certainly all that crud is not needed and I've been trimming some megs down to 150MB here and there manually, but as I don't know much about mono yet I'm not sure what I can remove or not.

Is it possible to somehow figure out the required dependencies using mkbundle and later use this information in makpack? For instance, mkbundle could spit out a list of required files which later makpack would include without pulling everything else?


More information about the Mono-osx mailing list