fix library name for pkg config files (and to avoid extra patches in vcpkg)

This commit is contained in:
Daan Leijen 2025-01-09 19:31:05 -08:00
parent 432af2f304
commit 600ca88e87
2 changed files with 23 additions and 18 deletions

View file

@ -1,11 +1,11 @@
prefix=@CMAKE_INSTALL_PREFIX@
libdir=@libdir_for_pc_file@
includedir=@includedir_for_pc_file@
libdir=@mi_pc_libdir@
includedir=@mi_pc_includedir@
Name: @PROJECT_NAME@
Description: A compact general purpose allocator with excellent performance
Version: @PACKAGE_VERSION@
URL: https://github.com/microsoft/mimalloc/
Libs: -L${libdir} -lmimalloc
Libs.private: @pc_libraries@
Libs: -L${libdir} -l@mi_pc_libname@
Libs.private: @mi_pc_libraries@
Cflags: -I${includedir}