lpac/driver/libeuicc-drivers.pc.in
Peter Cai 41697ab8f6
Move drivers into libeuicc-drivers.so (#59)
* Move drivers back to their own (optionally dynamic)

This allows for reuse from projects dynamically linked to libeuicc. Note
that we don't reintroduce dlopen() based drivers here.

All backends except stdio have been made optional using CMake options.
C-side macros in driver.c have been adjusted to always mean enabling the
corresponding backend when defined.

Note that the GBinder backend does not need to distinguish between the
current HIDL version and a future AIDL implementation. Both will have
the same dependencies and will probably fall back on to each other
automatically.

* Set up installed headers and pkg-config for libeuicc-drivers.so

Also separate lpac_driver struct from the installed version

* Namespace all exposed symbols in libeuicc-drivers.so

* Add back output directory config

This is needed by github actions

* curl is dlopen()'d on Windows
2024-03-21 08:39:26 +08:00

11 lines
357 B
PkgConfig

prefix="@CMAKE_INSTALL_PREFIX@"
exec_prefix="${prefix}"
libdir="${prefix}/lib"
includedir="${prefix}/include"
Name: libeuicc-drivers
Description: An "official" collection of drivers (backends) and their loader for use with libeuicc
Version: @PROJECT_VERSION@
Requires: libeuicc = @PROJECT_VERSION@
Cflags: -I${includedir}
Libs: -L${libdir} -leuicc-drivers