Skip to content

Commit 253a660

Browse files
committed
[gn build] fix llvm-jitlink tests on linux after ef23892
1 parent 5531f24 commit 253a660

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/utils/gn/secondary/llvm/tools/llvm-jitlink/BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ executable("llvm-jitlink") {
1515
"llvm-jitlink-macho.cpp",
1616
"llvm-jitlink.cpp",
1717
]
18+
if (host_os != "mac" && host_os != "win") {
19+
# Corresponds to export_executable_symbols() in cmake.
20+
ldflags = [ "-rdynamic" ]
21+
}
1822
}

0 commit comments

Comments
 (0)