summaryrefslogtreecommitdiff
path: root/system/abuild/auto-dev-symbols.patch
blob: 65426d9dc5179db0ca897a95876ec78948ec4720 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- abuild-3.3.1+adelie/abuild.in.old	2019-03-07 00:48:00.110000000 +0000
+++ abuild-3.3.1+adelie/abuild.in	2019-12-20 23:44:19.956669659 +0000
@@ -1659,6 +1659,7 @@
 default_dbg() {
 	local f
 	pkgdesc="$pkgdesc (debug symbols)"
+	install_if="symbols $pkgname=$pkgver-r$pkgrel"
 
 	binfiles=$(scanelf -R "$pkgdir" | grep ET_DYN | sed "s:$pkgdir\/::g" | sed "s:ET_DYN ::g")
 	for f in $binfiles; do
@@ -1689,6 +1690,7 @@
 	local i= j=
 	depends="$depends_dev"
 	pkgdesc="$pkgdesc (development files)"
+	install_if="dev $pkgname=$pkgver-r$pkgrel"
 
 	cd "$pkgdir" || return 0
 	local libdirs=usr/