Make sure we keep debug symbols for LLVM support

(cherry picked from commit 96945df883c0f90a98e5e9663dfc25686032a906)


Former-commit-id: ee3bc1e6da75f58d0b629ef13b77c044043ed235
This commit is contained in:
Jo Shields 2018-12-12 11:00:35 -05:00
parent b61ebe74c0
commit 9c59dca922

3
debian/rules vendored
View File

@ -333,6 +333,7 @@ ifdef BTLS_ARCH
endif endif
ifdef LLVM_ARCH ifdef LLVM_ARCH
install -D -m 644 debian/tmp/usr/lib/libmono-llvm.a debian/mono-runtime-common/usr/lib/ install -D -m 644 debian/tmp/usr/lib/libmono-llvm.a debian/mono-runtime-common/usr/lib/
EXTRA_STRIP = -pmono-llvm-support
endif endif
dh_link -s dh_link -s
dh_installchangelogs -s -X ChangeLog dh_installchangelogs -s -X ChangeLog
@ -341,7 +342,7 @@ endif
dh_installman -s dh_installman -s
dh_installexamples -s dh_installexamples -s
dh_installexamples -pmono-jay $(CURDIR)/mcs/jay/skeleton.cs dh_installexamples -pmono-jay $(CURDIR)/mcs/jay/skeleton.cs
dh_strip -pmono-runtime-common -pmono-runtime-sgen -pmono-runtime-boehm --dbg-package=mono-runtime-dbg dh_strip -pmono-runtime-common -pmono-runtime-sgen -pmono-runtime-boehm $(EXTRA_STRIP) --dbg-package=mono-runtime-dbg
dh_strip -plibmonoboehm-2.0-1 --dbg-package=libmonoboehm-2.0-1-dbg dh_strip -plibmonoboehm-2.0-1 --dbg-package=libmonoboehm-2.0-1-dbg
dh_strip -plibmonosgen-2.0-1 --dbg-package=libmonosgen-2.0-1-dbg dh_strip -plibmonosgen-2.0-1 --dbg-package=libmonosgen-2.0-1-dbg
dh_strip -s -Xbin/mono-sgen -Xbin/mono-boehm dh_strip -s -Xbin/mono-sgen -Xbin/mono-boehm