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

Create statically-linked version for MacOS Installer #5

Open
demisjohn opened this issue Apr 11, 2018 · 1 comment
Open

Create statically-linked version for MacOS Installer #5

demisjohn opened this issue Apr 11, 2018 · 1 comment

Comments

@demisjohn
Copy link
Owner

demisjohn commented Apr 11, 2018

From @demisjohn on February 28, 2018 8:17

Current implementation requires the user to build/install many MacPorts packages. For example, boost-python-mt.dylib must be found at /opt/local/lib/libboost_python-mt.dylibin order for python to load_camfr.so` properly.

Would prefer to statically link these libraries, so that _camfr.so contains the required libs, allowing for a MacOS "installer" to simply put the camfr/ module folder into the system site-packages and it works, without the user needing to install anything on macports. Also, link against any MacOS dynamic system libraries, or else build them into the module statically.

How do you write setup.py to do that?

@demisjohn
Copy link
Owner Author

Need to install the -static versions of each dependency from MacPorts. Not sure they all have that variant ready to go.

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

No branches or pull requests

1 participant