From c1dc9eca90b37b7fa99321d3400685beed47fd46 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 23 Sep 2014 11:42:52 +0200 Subject: add info about static build --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 084d1b3..35f26ba 100644 --- a/README.md +++ b/README.md @@ -41,13 +41,25 @@ followed by: > make install -This will place an executable at `/usr/lib/cqrlogo/cqrlogo`, -documentation can be found in `/usr/share/doc/cqrlogo/`. +This will place a shared library at `/usr/lib/libcqrlogo.so`, an +executable at `/usr/lib/cqrlogo/cqrlogo` and documentation can be found in +`/usr/share/doc/cqrlogo/`. The file `config.h` (copy from `config.def.h` if it does not exist) provides some build time configuration, so feel free to make your changes there and rerun the commands above. +### Static build + +In case you do not like the shared library `libcqrlogo.so` for whatever +reason you can build a statically linked version: + +> make static + +However there is no install routine for the static build. Please note +that this is still dynamically linked to `libpng`, `libz`, +`libiniparser` and `libqrencode`. + Usage ----- -- cgit v1.2.3-70-g09d2