Skip to content

Commit 0767311

Browse files
committed
Update luamake config for bee on linux to use static linkage for libbfd and libunwind so the lua-debug exe does not link against system dependent libbfd.so
1 parent ad7dd10 commit 0767311

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

compile/common/bee.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,9 @@ lm:source_set "source_bee" {
133133
}
134134
},
135135
linux = {
136-
ldflags = "-pthread",
136+
ldflags = "-fPIE -pthread -l:libbfd.a -l:libiberty.a -l:libunwind.a -l:libsframe.so -l:libzstd.so -l:libz.so -l:liblzma.so",
137137
links = {
138138
"stdc++fs",
139-
"unwind",
140-
"bfd",
141139
}
142140
},
143141
macos = {

0 commit comments

Comments
 (0)