summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Chan <zeerd@users.noreply.github.com>2022-07-18 11:14:58 +0800
committerGitHub <noreply@github.com>2022-07-18 10:14:58 +0700
commit4ea28ce72e62039a1032bc9c8c2b8b68d0ce8af3 (patch)
tree0089ee077e87ed60bb9c87baa8e62ab9f62acf3c
parent8a7bfb6756d1e065ec961a9e49a6ea9dfcfd83d5 (diff)
downloadDLT-daemon-4ea28ce72e62039a1032bc9c8c2b8b68d0ce8af3.tar.gz
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.
-rw-r--r--automotive-dlt.pc.in2
1 files changed, 1 insertions, 1 deletions
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@