void-packages/srcpkgs/spdlog/patches/fix-pkgconfig.patch
Đoàn Trần Công Danh 7daa75ec09 spdlog: build shared lib
2021-03-17 06:07:03 +07:00

12 lines
474 B
Diff

Index: spdlog-1.8.2/cmake/spdlog.pc.in
===================================================================
--- spdlog-1.8.2.orig/cmake/spdlog.pc.in
+++ spdlog-1.8.2/cmake/spdlog.pc.in
@@ -8,6 +8,6 @@ Description: Fast C++ logging library.
URL: https://github.com/gabime/@PROJECT_NAME@
Version: @SPDLOG_VERSION@
CFlags: -I${includedir} @PKG_CONFIG_DEFINES@
-Libs: -L${libdir} -lspdlog -pthread
+Libs: -L${libdir} -lspdlog -lfmt -pthread
Requires: @PKG_CONFIG_REQUIRES@