Skip to content

Commit 2d3db1c

Browse files
committed
Update dynamic library linkage on linux to be more portable
1 parent 6a8ebce commit 2d3db1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compile/common/bee.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ lm:source_set "source_bee" {
6969
},
7070
linux = {
7171
sources = {
72-
"!bee/crash/linux/**/",
7372
need {
7473
"linux",
7574
"posix",
@@ -136,7 +135,7 @@ lm:source_set "source_bee" {
136135
}
137136
},
138137
linux = {
139-
ldflags = "-pthread",
138+
ldflags = "-pthread -l:libbfd.a -l:libunwind.so -l:libgcc_s.so -l:libiberty.a -l:libsframe.so -l:libzstd.so -l:libz.so",
140139
links = {
141140
"stdc++fs",
142141
}

0 commit comments

Comments
 (0)