-
Notifications
You must be signed in to change notification settings - Fork 17
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
shared_library
support
#2
Comments
Could be tested on https://github.com/indutny/llnode |
I'm going to take OS X support for this. |
OS X - done. |
Linux - appears to be working. |
I'm inclined to say that FreeBSD and other Unixes should work, but this needs a verification. |
Anyone wants to verify this? |
Hey i'd like to ! Could you tell me where i should start ? llnode seems to be something different. |
@kapouer
|
Alright, I have pushed |
@indutny, I've forked To build a native addon you just need a C++ compiler and Ninja installed. Visual C++ is used by default on Windows (my version of And ninja executable should be in a ps. I just saw you added |
@pmed Fantastic! |
@pmed I have just pushed some fixes, and it appears that all |
@pmed One more thought: what do you think about contributing your patch back to node-gyp, with |
See: nodejs/node-gyp#960 |
Yes, command-line flag to switch between gyp and gyp.js would be great. And I'd like to use gyp.js by default some time later 😄 The switch should be the same for the |
@pmed I would go with both, probably? Is it too hard to do it in an existing architecture? Thanks for looking into it. |
@indutny yes, both, with comman-line option and env var. It shouldn't be hard to keep branches both for gyp and gyp.js in configure and build commands. I added the gyp.js dependency into node-gyp/package.json, and use gyp.main() on configure step. Build function spawns I can try to make a PR into node-gyp. |
Just run |
@indutny what would you consider "others"? |
Well |
@refack yeah solaris, aix, everywhere where node works. |
Cracking up my emulator... |
gyp.js currently supports
static_library
,executable
, andnone
target_type
, butshared_library
is very important for Node.js addons! Therefore we need to support it inninja
.Hints:
solink
needs to be added herePossible problems - many.
Support:
The text was updated successfully, but these errors were encountered: