nikhilm / node-taglib

Simple taglib bindings to Javascript using node.js
http://nikhilm.github.com/node-taglib
MIT License
147 stars 25 forks source link

Fix linker error (on Mac OS 10.5.8) #37

Closed lmjohns3 closed 12 years ago

lmjohns3 commented 12 years ago

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.

nikhilm commented 12 years ago

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.