From 4ea28ce72e62039a1032bc9c8c2b8b68d0ce8af3 Mon Sep 17 00:00:00 2001 From: Charles Chan Date: Mon, 18 Jul 2022 11:14:58 +0800 Subject: automotive-dlt.pc: add the path to find the static library (#387) Make the user find the static library by pkg-config, when BUILD_SHARED_LIBS=OFF. --- automotive-dlt.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automotive-dlt.pc.in b/automotive-dlt.pc.in index a52da01..568b102 100644 --- a/automotive-dlt.pc.in +++ b/automotive-dlt.pc.in @@ -22,6 +22,6 @@ Name: DLT Description: Diagnostic Log and Trace Version: @PROJECT_VERSION@ Requires: -Libs: -L${libdir} -ldlt -lrt -lpthread @ZLIB_LIBRARY@ +Libs: -L${libdir} -L${libdir}/static -ldlt -lrt -lpthread @ZLIB_LIBRARY@ Cflags: -I${includedir}/dlt -I${includedir} -DDLT_@PROJECT_VERSION_MAJOR@_@PROJECT_VERSION_MINOR@ -- cgit v1.2.1