Patch 1 adds pkg-config support so that applications are not required to hardcode compiler flags that may change depending on the distro. Patch 2 moves installation paths to ./configure so they are adjustable from the command-line and do not require modifying the makefile. This is necessary so Fedora x86_64 can set libdir to /usr/lib64. I have tested this by building Aarushi Mehta's QEMU io_uring support using pkg-config on a Fedora x86_64 host. Stefan Hajnoczi (2): pkgconfig: install a liburing.pc file configure: move directory options to ./configure configure | 55 +++++++++++++++++++++++++++++++++++++++++++++++++- Makefile | 17 ++++++++++------ .gitignore | 2 ++ liburing.pc.in | 12 +++++++++++ 4 files changed, 79 insertions(+), 7 deletions(-) create mode 100644 liburing.pc.in -- 2.21.0