diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-01-08 18:01:35 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-01-11 11:40:46 +0100 |
commit | 98a7d731addf3e0d3a146bc0152307444fee5849 (patch) | |
tree | 4a97c304a2c19a55cc81cf6ad67446e4c00ebb50 /builder/builder-utils.c | |
parent | 62b4ffaa72891520d57ce32ba99b40ceeda6cd99 (diff) | |
download | xdg-app-98a7d731addf3e0d3a146bc0152307444fee5849.tar.gz |
builder: Add support for separating out debuginfo
Diffstat (limited to 'builder/builder-utils.c')
-rw-r--r-- | builder/builder-utils.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/builder/builder-utils.c b/builder/builder-utils.c index 9b94423..324537b 100644 --- a/builder/builder-utils.c +++ b/builder/builder-utils.c @@ -133,6 +133,20 @@ strip (GError **error, return res; } +gboolean +eu_strip (GError **error, + ...) +{ + gboolean res; + va_list ap; + + va_start (ap, error); + res = xdg_app_spawn (NULL, NULL, error, "eu-strip", ap); + va_end (ap); + + return res; +} + static gboolean elf_has_symtab (Elf *elf) { Elf_Scn *scn; |