Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statically compile AppImage #29

Open
matthewbauer opened this issue Mar 8, 2018 · 3 comments
Open

Statically compile AppImage #29

matthewbauer opened this issue Mar 8, 2018 · 3 comments

Comments

@matthewbauer
Copy link
Owner

Right now AppImage does dynamic linking to some libraries like FUSE and SquashFS. Ideally we could statically compile everything. This will increase our bundle size a little but will mean we don't need 'test-appimage.nix'.

Most likely we will have to slightly modify appimagetool to get this to work.

@dtzWill
Copy link
Contributor

dtzWill commented Mar 8, 2018

Sounds good! This isn't a regression is it?

@matthewbauer
Copy link
Owner Author

No AFAIK appimagetool has always used dynamic libraries.

@probonopd
Copy link

probonopd commented Mar 8, 2018

Check AppImage/AppImageKit#45 (comment).

https://github.com/AppImage/AppImageKit/blob/appimagetool/master/src/runtime.c is the code that you would need to get compiled statically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants