https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
11 lines
241 B
PkgConfig
11 lines
241 B
PkgConfig
prefix=@out@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/lib
|
|
includedir=${exec_prefix}/include
|
|
|
|
Name: libui
|
|
Description: Simple and portable (but not inflexible) GUI library
|
|
Version: @version@
|
|
|
|
Libs: -L${libdir} -lui
|
|
Cflags: -I${includedir}
|