project('ch-proxy', 'c') pkg = import('pkgconfig') sendfd = library('sendfd', [ 'sendfd.c', 'sendfd.h' ], install: true) pkg.generate(sendfd) install_headers('sendfd.h') executable('ch-proxy', 'proxy.c', link_with: [sendfd], install: true)