openwrt-packages/libs/tinycdb
Sebastian Kemper 6c4336eb19 tinycdb: install shared lib and pic archive
dnsdist picks up cdb.h but can't link in the static archive.

/home/sk/tmp/openwrt/staging_dir/toolchain-mips_24kc_gcc-8.3.0_musl/lib/gcc/mips-openwrt-linux-musl/8.3.0/../../../../mips-openwrt-linux-musl/bin/ld: /home/sk/tmp/openwrt/staging_dir/target-mips_24kc_musl/usr/lib/libcdb.a(cdb_init.o): relocation R_MIPS_26 against `fstat' can not be used when making a shared object; recompile with -fPIC

This commit extends the tinycdb Makefile to build and install as well
the shared library as well as the pic archive. dnsdist will then pick
the shared library.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-15 10:44:08 +01:00
..
patches Tinycdb library 2014-10-03 23:16:27 +04:00
Makefile tinycdb: install shared lib and pic archive 2019-12-15 10:44:08 +01:00