From 257de228056d699e251698eecf40b2ce6feba690 Mon Sep 17 00:00:00 2001 From: doinachiroiu Date: Wed, 23 Sep 2020 18:43:21 +0000 Subject: [PATCH] Update README with static build info --- oss-internship-2020/gdal/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/oss-internship-2020/gdal/README.md b/oss-internship-2020/gdal/README.md index e0805fa..85e7da6 100644 --- a/oss-internship-2020/gdal/README.md +++ b/oss-internship-2020/gdal/README.md @@ -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`