debian: build debug symbol package
Before this patch all debug symbols were stripped off and simply discarded. GDB without debug symbols is barely usable, but at the same time distributing binaries with debug symbols would drastically increase strongswan/libstrongswan package size. Instead of discarding debug symbols, it would be better to strip them off into a dedicated debian package. So that, if needed, one could still install them and use GDB. Signed-off-by: Ansis Atteka <[email protected]>
This commit is contained in:
committed by
Martin Willi
parent
19046552b6
commit
588099f772
@@ -56,7 +56,7 @@ binary-arch: build install
|
||||
dh_installinit --name=ipsec
|
||||
dh_install -s
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_strip --dbg=strongswan-dbg
|
||||
dh_compress
|
||||
dh_fixperms -Xetc/ipsec.secrets -Xetc/ipsec.d
|
||||
dh_makeshlibs
|
||||
|
||||
Reference in New Issue
Block a user