-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Added M2Crypto recipe #652
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
Conversation
Thanks. Do you think there is a case for a new recipe class setting these env vars for python recipes that need them (like CythonRecipe but for things other than cython)? If these things are general enough, it would make it easier to support e.g. multiple python versions. |
I agree that there is a lot of similarity between the Apsw, M2Crypto and pyLevelDB recipes setting the python linker and including the headers. Why is this not needed by every python recipe is what I am wondering?
Also these settings are recurring for all libraries that want to use the regular gnu c stl:
Perhaps a special recipe class could be made for that as well? |
This is not necessary in every python recipe because they don't normally Actually, there's already a recipe for pythonrecipes with compiled On 04/03/16 21:07, Paul Brussee wrote:
|
For the LDSHARED thing, where is that line of code? Right now it should use liblink.sh, or with crystax does use env['CC'] + '-shared', but this seems to work (maybe the gcc arch doesn't matter for the linking?). I don't know much about linking though, and could easily have missed something. |
It is on line 36 of this recipe. I tried refactoring it into a CompiledComponentsPythonRecipe but if I use the setup_extra_args it gives them not only tot the build call of setup.py but also to the install setup.py call and that is not what I want because that takes different arguments. |
Tested with this script on Android 6.0.1: https://e1ven.com/2011/04/06/how-to-use-m2crypto-tutorial/