1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/dmd/10-dmd-musl.patch
2022-12-05 19:04:13 +00:00

14 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)
{