Update README with static build info

This commit is contained in:
doinachiroiu 2020-09-23 18:43:21 +00:00
parent 7c52e77c85
commit 257de22805

View File

@ -24,6 +24,16 @@ PROJ: `sudo apt-get install libproj-dev`
### Initializing GDAL submodule:
`git submodule add https://github.com/OSGeo/gdal/tree/master/gdal`
### Building GDAL statically
GNUmakefile from gdal/gdal can handle building the static library.
`cd gdal/gdal && make static-lib`
`cd ../.. && mkdir lib`
`cp gdal/gdal/libgdal.a lib/`
OBS: The file is huge! It may take a while.
### For testing:
`mkdir build && cd build`