1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/dmd/10-dmd-musl.patch

14 lines
452 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
@@ -628,6 +628,8 @@
argv.push("-lrt");
// Link against libdl for phobos usage of dlopen
argv.push("-ldl");
+ // Musl
+ argv.push("-lunwind");
}
else version (OpenBSD)
{