summaryrefslogtreecommitdiff
path: root/system/abuild/auto-dev-symbols.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/abuild/auto-dev-symbols.patch')
-rw-r--r--system/abuild/auto-dev-symbols.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/abuild/auto-dev-symbols.patch b/system/abuild/auto-dev-symbols.patch
new file mode 100644
index 000000000..1fbca7bad
--- /dev/null
+++ b/system/abuild/auto-dev-symbols.patch
@@ -0,0 +1,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/