]> git.proxmox.com Git - mirror_lxcfs.git/commit - Makefile.am
libtool: do not link lxcfs against liblxcfs
authorChristian Brauner <cbrauner@suse.de>
Mon, 29 Aug 2016 08:12:27 +0000 (10:12 +0200)
committerChristian Brauner <cbrauner@suse.de>
Mon, 29 Aug 2016 16:59:37 +0000 (18:59 +0200)
commit23748216d35bc40c36bc5dd35199fd37f3d3152b
tree2457861ce9fa80e3e2f04b450fcf5b723e31158d
parent95259c2edfed45b5255dc2dfb93a260642eb7af3
libtool: do not link lxcfs against liblxcfs

Make liblxcfs a libtool module. Also, stop linking lxcfs against liblxcfs. We do
not really need this since we call dlopen() anyway. Furthermore, this allows us
to make sure that functions marked with __attribute__(constructor) are not run
before we call dlopen() in main() in lxcfs. This has the advantage that we can
show help output without __attribute__(constructor) functions being run.

Signed-off-by: Christian Brauner <cbrauner@suse.de>
Makefile.am