libspatialindex/libspatialindex — Issue #4: Allow for other directories than /usr/lib
Author: volter
Created: 2011-10-16 12:39:28+00:00
State: open

DEFAULT_LIB_SUBDIR is hard-coded to "lib". Various 64 bit systems store their 64 bit libs in lib64.

I made patch and tried with 32 and 64 bit Linux. It creates an explicit if-branch for APPLE. The else branch for other UNIXes appends ${LIB_SUFFIX} to "lib".

Adding "-DLIB_SUFFIX=64" to the cmake call allows for lib64.

http://www.geofrogger.net/review/spatialindex-1.7.0-64-bit.patch