THRIFT-4110: add libthrift0-dbg debug symbols package to debian build process for symbolic debugging

This closes #1209
This commit is contained in:
James E. King, III 2017-03-10 06:14:18 -05:00
parent b79396f799
commit 9b1544dc21
2 changed files with 13 additions and 1 deletions

11
debian/control vendored
View File

@ -166,6 +166,17 @@ Description: Thrift C++ library
This package contains the runtime libraries needed for C++ applications
using Thrift.
Package: libthrift0-dbg
Architecture: any
Section: debug
Depends: ${shlibs:Depends}, ${misc:Depends}, libthrift0 (= ${binary:Version})
Description: Thrift C++ library debug symbols
Thrift is a software framework for scalable cross-language services
development. It combines a software stack with a code generation engine to
build services that work efficiently and seamlessly.
.
This package contains the debug symbols for the Thrift C++ runtime libraries.
Package: libthrift-dev
Architecture: any
Section: libdevel

3
debian/rules vendored
View File

@ -202,9 +202,10 @@ binary-common:
dh_installexamples
dh_installman
dh_link
dh_strip -plibthrift0 --dbg-package=libthrift0-dbg
dh_strip -ppython-thrift --dbg-package=python-thrift-dbg
dh_strip -ppython3-thrift --dbg-package=python3-thrift-dbg
dh_strip -pthrift-compiler -plibthrift0
dh_strip -pthrift-compiler
dh_compress
dh_fixperms
dh_makeshlibs