mirror of
https://github.com/openharmony/third_party_liburing.git
synced 2026-07-01 06:41:58 -04:00
1b049c1265
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>
13 lines
233 B
Plaintext
13 lines
233 B
Plaintext
prefix=@prefix@
|
|
exec_prefix=${prefix}
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
|
|
Name: @NAME@
|
|
Version: @VERSION@
|
|
Description: io_uring library
|
|
URL: http://git.kernel.dk/cgit/liburing/
|
|
|
|
Libs: -L${libdir} -luring
|
|
Cflags: -I${includedir}
|