after the fruitful discussion here: https://github.com/arpa2/tlspool/issues/54
this is now the PR to the issue1 and issue3.
i've tested it with:
- nixos-rebuild -I nixpkgs=/root/nixpkgs switch
- nix-shell /root/nixpkgs/default.nix -I nixpkgs=/root/nixpkgs -A tlspool
both compile and probably work. i've tested tlspool/testcli/testsrv with ldd and all symbols are there.
@vanrein please do a carefull review since it is already late and i might also have missed something. thanks for your excellent comments in https://github.com/arpa2/tlspool/issues/54 on the topic. except for the RPATH you will probably like this PR very much.