-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Implement _NSGetEnviron() #1189
Conversation
Configure for what project? |
Oh, the project I'm trying to build. Not emscripten itself. |
Which project is it, out of curiosity? And what is NSGetEnviron? |
tor
|
And what header is it defined in? If configure checks for it, it must be in some system header of ours? Otherwise what is configure looking for? |
It's defined in The
I guess that bypasses whatever |
That header file is not part of emscripten though. I guess it's a system header on your machine? |
We can't implement stuff in our library files that is specific to some system. In principle, configure should not be looking in your system headers, just the portable emscripten ones. |
Indeed, it's a system header on my machine and, unfortunately, in practice, configure is looking at it. I guess a better patch would be to figure why that is and try to prevent it. Thanks for the help. |
I think the right solution is to modify that configure to be more friendly to cross-compilers (like emscripten), and not look at hardcoded paths to system headers. I am not sure there is something more general we can do. |
Configure detects the presence of
_NSGetEnviron()
on OS X but fails during make. Harmless to include it? Or just my problem?