-
Notifications
You must be signed in to change notification settings - Fork 45
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
Extend Makefile to produce shared libraries #7
Conversation
This should be merged. A shared library would be super useful for this. |
Since this is needed for the Python wrapper, I also think this would be a great addition. |
I considered providing shared libraries when I created Makefile for houdini. But somehow I felt @vmg wanted to be free from maintenance work. Heck, that is why there was no makefile at all, I guess. Static lib is convenient and doesn't burden anyone. You cannot say that about dynamic lib. Mind that doing shared libraries requires versioning them, which you (conveniently :>) omitted. I can provide simple boilerplate for Linux-case ( |
+1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ramsalmgroup
Ramsalmgroup |
Daniel Ramos Navarro |
I’m hacking together a Python interface to this library using ctypes, which means I needed a shared object file (
.dylib
on OS X,.so
on Linux). This small PR just adds an appropriate target on each of those OSes; I’ve tested it on both so far (thanks to Vagrant) and it seems to work.