Skip to content

Override BUILDING_UV_SHARED, BUILDING_V8_SHARED.#915

Merged
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:bug914
Jun 16, 2016
Merged

Override BUILDING_UV_SHARED, BUILDING_V8_SHARED.#915
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:bug914

Conversation

@bnoordhuis

Copy link
Copy Markdown
Member

We were inheriting BUILDING_UV_SHARED and BUILDING_V8_SHARED from
the common.gypi from the node.js source tree. Override them with
USING_UV_SHARED and USING_V8_SHARED so symbols get tagged with
__declspec(dllimport) instead of __declspec(dllexport), which
is the desired attribute when building add-ons.

Fixes: #914

@rvagg

rvagg commented Jun 14, 2016

Copy link
Copy Markdown
Member

this one is a bit beyond me, @indutny, @kkoopa?

@kkoopa

kkoopa commented Jun 14, 2016

Copy link
Copy Markdown

Seems correct

@indutny

indutny commented Jun 14, 2016

Copy link
Copy Markdown
Member

LGTM

We were inheriting BUILDING_UV_SHARED and BUILDING_V8_SHARED from
the common.gypi from the node.js source tree.  Override them with
USING_UV_SHARED and USING_V8_SHARED so symbols get tagged with
`__declspec(dllimport)` instead of `__declspec(dllexport)`, which
is the desired attribute when building add-ons.

Fixes: #914
PR-URL: #915
Reviewed-By: Benjamin Byholm <bbyholm@abo.fi>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
@bnoordhuis bnoordhuis merged commit cc778e9 into nodejs:master Jun 16, 2016
@bnoordhuis bnoordhuis deleted the bug914 branch June 16, 2016 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants