node-gdal
node-gdal copied to clipboard
node-gdal does not link with libiconv in Linux
node-gdal version: 0.9.4 nodejs version: 6.9.2 gcc: 4.9.2
I'm building node-gdal from source in CentOS 6 against gdal and libiconv located in non-standard places. Everything works fine but node-gdal does not link with libiconv. I found in deps/libgdal/libgdal.gyp that -liconv
flags are only set when compiling in mac. Is there any reason for this flag not to be present in a Linux build?
I worked around this issue by manually adding -liconv
to LDFLAGS
env variable