-
Notifications
You must be signed in to change notification settings - Fork 4
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
Makefile does not account for cross-compiling #11
Comments
Yes, it is try to fix glibc pthread robust mutex support (glibc < 2.12) case on and for Linux build for myself. So I do not account for cross-compiling. Any idea for this? |
The LMDB source itself seems to deal with it: Lines 309 to 328 in 992c681
|
I add this because it results in build failed in the Ubuntu 10.04 environment (glibc 2.11, pthread function is missing or other things). However, I do not know how to check this in this moment because I updated my environment to newer Ubuntu. |
Maybe changing the glibc check to be 2.11 instead of 2.4 is sufficient ? |
LMDB check glibc < 2.10 when I write code but current LMDB code base check is correct. I think remove this workaround or instead of check glibc 2.4 is OK. Do you suggest remove the workaround or instead of check glibc 2.4? |
Compiling it for Android still fails with the robust check failing, so maybe something better needs to be done as part of autoconf. I'll submit a patch. |
tcl-lmdb/Makefile.in
Lines 152 to 161 in 992c681
This assumes that because one is building ON Linux that one is building FOR Linux, this does not hold true when cross-compiling.
The text was updated successfully, but these errors were encountered: