From 1f2912d383c2d76328b5a318bf83ca3635bbaec9 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Thu, 17 Feb 2022 11:46:07 +0000 Subject: [PATCH] pkgconfig: use appropriate static lib name --- lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index f9553fd8c..19dc0cf64 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -340,7 +340,7 @@ Name: libwebsockets_static Description: Websockets server and client static library Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} -Libs: -L\${libdir} -lwebsockets_static +Libs: -L\${libdir} -l:libwebsockets${CMAKE_STATIC_LIBRARY_SUFFIX} Libs.private: Cflags: -I\${includedir} "