Oddbean new post about | logout
 btw, default autotools compiles seem to make the static library... you get a .a, .la (which just points at the .a as its binary) and .so in maybe several versions - at least with libsecp256k1 it was

and so i was able to do this:

mleku@iox:~/src/realy.lol/cmd/realy$ ls -lash|grep realy
 23M -rwxrwxr-x 1 mleku mleku  23M Nov 10 20:16 realy
4.0K -rw-rw-r-- 1 mleku mleku  414 Oct 20 22:57 realy.service
mleku@iox:~/src/realy.lol/cmd/realy$ ldd realy
        not a dynamic executable

and you see, that only added 3mb to the size of the binary and i can distribute that and it will work on any system with glib2 on amd64 architecture