Skip to content

Commit

Permalink
Move static libs and link files into dev packages (#678)
Browse files Browse the repository at this point in the history
Normally the "library" packages on Debian an RHEL contain only shared
library files. Headers, static libraries, and shared library links go
into the "development" package which is necessary to build software
that uses the library (but not run it). On RHEL the static libraries
are often moved into their own "-static" package to avoid bloating the
"-devel" package (as dynamic linkage is customary).

Historically, we've been putting everything into the "library" package
but let's follow the conventions from now on.

We already recommend to install "development" packages to develop
software that uses Themis. Some language wrappers -- dynamic languages
like Python and Ruby -- will need that as they resolve Themis dynamic
library dynamically and need the symlink to be present.
  • Loading branch information
ilammy committed Jul 15, 2020
1 parent 8b83a71 commit f431116
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,10 @@ _Code:_

- Fixed panics on 32-bit systems when processing corrupted data ([#677](https://github.com/cossacklabs/themis/pull/677)).

_Infrastructure:_

- Improved package split making `libthemis` thinner ([#678](https://github.com/cossacklabs/themis/pull/678)).

## [0.13.0](https://github.com/cossacklabs/themis/releases/tag/0.13.0), July 8th 2020

**TL;DR:**
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Expand Up @@ -660,13 +660,13 @@ POST_UNINSTALL_SCRIPT := $(BIN_PATH)/post_uninstall.sh
DEV_PACKAGE_FILES += $(includedir)/soter/
DEV_PACKAGE_FILES += $(includedir)/themis/
DEV_PACKAGE_FILES += $(pkgconfigdir)/
DEV_PACKAGE_FILES += $(libdir)/$(LIBSOTER_A)
DEV_PACKAGE_FILES += $(libdir)/$(LIBSOTER_LINK)
DEV_PACKAGE_FILES += $(libdir)/$(LIBTHEMIS_A)
DEV_PACKAGE_FILES += $(libdir)/$(LIBTHEMIS_LINK)

LIB_PACKAGE_FILES += $(libdir)/$(LIBSOTER_A)
LIB_PACKAGE_FILES += $(libdir)/$(LIBSOTER_SO)
LIB_PACKAGE_FILES += $(libdir)/$(LIBSOTER_LINK)
LIB_PACKAGE_FILES += $(libdir)/$(LIBTHEMIS_A)
LIB_PACKAGE_FILES += $(libdir)/$(LIBTHEMIS_SO)
LIB_PACKAGE_FILES += $(libdir)/$(LIBTHEMIS_LINK)

THEMISPP_PACKAGE_FILES += $(includedir)/themispp/

Expand Down

0 comments on commit f431116

Please sign in to comment.