diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2019-05-25 09:58:29 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-25 06:36:21 -0600 |
commit | 1b049c1265977ba13f20797848859a46ade1b75b (patch) | |
tree | 7d56e53bd013d95acdf27643c82643185dc1ba43 /test/b19062a56726-test.c | |
parent | d672969583c3226828392771b4a949452c9ef578 (diff) |
pkgconfig: install a liburing.pc file
pkg-config (https://pkgconfig.freedesktop.org/) makes it easier to build
applications that have library dependencies. Libraries ship .pc files
containing the compiler and linker flags needed to build successfully.
This saves applications from hardcoding these details into their build
scripts, especially when these details can change between operating
systems or distributions.
To build a liburing application:
gcc $(pkg-config --cflags --libs liburing) -o myapp myapp.c
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/b19062a56726-test.c')
0 files changed, 0 insertions, 0 deletions