]> pd.if.org Git - zpackage/commit
enable static linked builds
authorNathan Wagner <nw@hydaspes.if.org>
Sat, 29 Sep 2018 20:03:22 +0000 (20:03 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sat, 29 Sep 2018 20:03:22 +0000 (20:03 +0000)
commit4a6ff66a5868ab54ec03f240d8160b7c87dd23f7
tree3fc1ba84da613f047f2c31b01a0d0cead392b6fa
parent5750aee20b594a3dd7401bca873f2e7b41b9cfa7
enable static linked builds

The sqlite loadable extension interface uses libdl, so it is now
omitted from the sqlite3 library and zpm-shell.  The -ldl linker
option isn't needed, and -static is.

There is also a commented out CC to use musl as the C library.  Glibc
doesn't actually support static linking, as it uses libdl for
various name service switch libraries.  The package system doesn't
need to do that, and static linking the binaries reduces dependencies
and eliminates library issues which could make the system unusable.
Makefile
sqlite/config.h
zpm-syncfs.c