Skip to content

Commit

Permalink
Improve static linking, rename static library.
Browse files Browse the repository at this point in the history
  • Loading branch information
SolidWallOfCode committed May 13, 2020
1 parent a535743 commit 35f524f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code/libswoc.static.part
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion code/libswoc.static.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 35f524f

Please sign in to comment.