wankdanker / node-odbc

ODBC bindings for node
MIT License
174 stars 79 forks source link

Adjusted a few lines to Allow for AIX compiling. #32

Closed abmusse closed 6 years ago

abmusse commented 6 years ago

I Had to make these changes to get odbc npm package compiled with node-gyp on my AIX machine. Accepting these changes would streamline the npm install process for those using AIX.

wankdanker commented 6 years ago

Merged and published to npm as odbc@1.4.3.

Sorry for the delay.

ThePrez commented 6 years ago

Thanks!! This can install fine now on the IBM i platform via: LDFLAGS='-Wl,-brtl,-bnoquiet,-blibpath:/QopenSys/pkgs/lib,-lodbc' CXXFLAGS=-I/QOpenSys/pkgs/include npm install odbc A future PR will modify the .gyp appropriately to support the new platforms