We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fec69b commit a29d777Copy full SHA for a29d777
build_defs.bzl
@@ -68,7 +68,10 @@ def pybind_extension(
68
linkopts = linkopts + select({
69
"@platforms//os:osx": ["-undefined", "dynamic_lookup"],
70
Label("@pybind11//:msvc_compiler"): [],
71
- "//conditions:default": ["-Wl,-Bsymbolic"],
+ "//conditions:default": [
72
+ "-Wl,-Bsymbolic",
73
+ "-Wl,-z,undefs",
74
+ ],
75
}),
76
linkshared = 1,
77
tags = tags,
0 commit comments