I've been getting the following linker error when trying to npm install node-taglib :
i686-apple-darwin9-g++-4.0.1: -install_name only allowed with -dynamiclib
I finally tracked down the code in node-gyp that was generating the linker arguments in the makefiles, and it looks like it just needed augmenting with a -dynamiclib in the LDFLAGS.
Add -dynamiclib to LDFLAGS to prevent linker error about -install_name.
On my snow leopard system with g++ 4.2.1 it works without the flag. But I'm merging this since adding the flag doesn't seem to cause any problems on my system.
Remove -dynamiclib flag
Introduced in #37 as a cosmetic improvement for some specific systems, the dynamiclib flag results in the following error on Mac OS 10.9.2:
clang: error: invalid argument '-bundle' not allowed with '-dynamiclib'
Removing it resolves the error.