Skip to content

Commit 9717e81

Browse files
committed
Change linker with DFLAGS instead
1 parent 1c26588 commit 9717e81

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ci/docker.build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
set -e -u
33

44
cd /core/
5-
dub build -c static --compiler=ldc2
5+
DFLAGS="-linker=bfd" dub build -c static --compiler=ldc2

dub.sdl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ configuration "static" {
2222
targetType "executable"
2323
versions "VibeDefaultMain"
2424
lflags "-lz" "-lssl" "-lcrypto" "-ldl" platform="posix"
25-
26-
// gcc on alpine has issues with the ld.gold linker, use bfd instead
27-
dflags "-linker=bfd" "-static" platform="posix"
25+
dflags "-static" platform="posix"
2826
}
2927
configuration "library" {
3028
versions "VibeCustomMain"

0 commit comments

Comments
 (0)