Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@dawagner
Copy link
Contributor

Fixes and workarounds for darwin, mostly related to android. Closes #39.

Sebastien Gonzalve added 4 commits May 29, 2015 11:26
The code was using a hack to export headers only through a empty lib. This
trick does not work on darwin hosts.

This patch remove this hack and use the standard export C include dir.

Change-Id: I34a69a6f66479b3a499efc4a648c43f022e1c472
Signed-off-by: Sebastien Gonzalve <[email protected]>
Pathes were hardcoded to linux which make compilation fail on MacOs.

This patch gets the correct host build arch to fix compilation under MacOSx.

Change-Id: Ie49d179cf1e7a54fa862f8b2f0996d7945884b96
Signed-off-by: Sebastien Gonzalve <[email protected]>
Those signals are useless and causes problems on darwin (BSD) compilation.
Actually on recv, the flag is ignored on Linux, and on send, it should not be
necessary if we do not write on a closed socket.

Thus patch thus removes the flags and close the socket on error.
The lib in prebuild/darwin-x86 is in fact a 64bit lib and link fails.

This patch make the host binary use the host python to link (this is quite
wrong as the version may not be compatible with the android swig version

Change-Id: Ic6ed36a498904e082c1c60f05cc54827ca6ea705
Signed-off-by: Sebastien Gonzalve <[email protected]>
@dawagner
Copy link
Contributor Author

@OznOg @krocard please review.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no dummy value on darwin, only linux's python-config is broken?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in #124

@krocard
Copy link
Contributor

krocard commented May 29, 2015

Are you sure a SIGPIPE can be received ? I though that it was when reading a file descriptor after receiving EOF ?

@krocard krocard mentioned this pull request Jun 3, 2015
@krocard
Copy link
Contributor

krocard commented Jun 3, 2015

Took owneship in #131 of this pull request.

@krocard krocard closed this Jun 3, 2015
@dawagner dawagner deleted the android-darwin branch October 15, 2015 11:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MSG_NOSIGNAL is not defined on Mac OSX

3 participants