summaryrefslogblamecommitdiff
path: root/system/abuild/auto-dev-symbols.patch
blob: 1fbca7bad6481155d523814306beda311fc3e2ac (plain) (tree)
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
@@ -1651,6 +1651,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
@@ -1681,6 +1682,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/