aports/community/dmd/10-dmd-musl.patch
2022-12-05 19:04:13 +00:00

15 lines
456 B
Diff

Add dependency to libexecinfo and the associated version for backtraces.
diff -Nurp a/dmd/src/dmd/link.d b/dmd/src/dmd/link.d
--- a/dmd/compiler/src/dmd/link.d
+++ b/dmd/compiler/src/dmd/link.d
@@ -746,6 +747,8 @@
argv.push("-lrt");
// Link against libdl for phobos usage of dlopen
argv.push("-ldl");
+ // Musl
+ argv.push("-lunwind");
}
if (global.params.verbose)
{