Just had a question, I need to pass a couple flags through (CXXFLAGS, LDFLAGS).
I see that the Makefile has a couple lines of code fetching the flags, but it seems as if doing the following doesn't work. Not sure if I'm doing it wrong or what.
node-gyp build CXXFLAGS="-I/some/path/include" LDFLAGS="-L/some/path/lib"
I am on Mac OS X, Mountain Lion. Latest XCode.
Thank you in advance,
Just put the env variables before the node-gyp command:
$ node-gyp configure
$ CXXFLAGS="-I/some/path/include" LDFLAGS="-L/some/path/lib" node-gyp build