You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2024/01/30 16:23:40 UTC
(trafficserver-libswoc) 02/02: Improve static linking, rename static library.
This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch dev-1-2-4
in repository https://gitbox.apache.org/repos/asf/trafficserver-libswoc.git
commit 7065a5c8ec8a496b8d3413ba0fbd5c1a17461e8e
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Wed May 13 12:52:06 2020 -0500
Improve static linking, rename static library.
---
code/libswoc.static.part | 2 +-
code/libswoc.static.pc.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/code/libswoc.static.part b/code/libswoc.static.part
index 39ac2f6..bf32f6f 100644
--- a/code/libswoc.static.part
+++ b/code/libswoc.static.part
@@ -11,7 +11,7 @@ env.AppendUnique(
)
# build the library
-out = env.StaticLibrary("${PART_ROOT_NAME}.${PART_VERSION}.a", src_files, LIBPREFIX="")
+out = env.StaticLibrary("${PART_ROOT_NAME}.static.${PART_VERSION}.a", src_files, LIBPREFIX="")
env.InstallLib(out)
# Export the package config.
diff --git a/code/libswoc.static.pc.in b/code/libswoc.static.pc.in
index e7243fb..824d7ca 100644
--- a/code/libswoc.static.pc.in
+++ b/code/libswoc.static.pc.in
@@ -7,5 +7,5 @@ Name: LibSWOC++
Description: A collection of solid C++ utilities and classes.
Version: pkg_version
Requires:
-Libs: ${libdir}/libswoc.pkg_version.a
+Libs: ${libdir}/libswoc.static.pkg_version.a
Cflags: -I${includedir}