Skip to content

Conversation

@kkaefer
Copy link
Contributor

@kkaefer kkaefer commented Apr 17, 2015

Adding -undefined dynamic_lookup to all targets makes it impossible to create Xcode projects with node-gyp for gyp files that also include none targets. Since none targets don't have a framework phase, gyp errors when trying to add the link flag.

In addition, -undefined dynamic_lookup should be added as a linker flag, not a link library, so it's now passed in the OTHER_LDFLAGS setting.

This also fixes #536.

Adding "-undefined dynamic_lookup" to all targets makes it impossible to create Xcode projects with node-gyp for gyp files that also include "none" targets. Since non-targets don't have a framework phase, gyp errors when trying to add the link flag.

In addition, "-undefined dynamic_lookup" should be added as a linker flag, not a link library, so it's now passed in the "OTHER_LDFLAGS" setting
TooTallNate added a commit that referenced this pull request May 19, 2015
Only add "-undefined dynamic_lookup" to loadable_module targets
@TooTallNate TooTallNate merged commit 310fbb9 into nodejs:master May 19, 2015
@TooTallNate
Copy link
Contributor

Thanks!

TooTallNate added a commit to TooTallNate/node-ogg that referenced this pull request May 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants