Skip to content

Commit 0cded48

Browse files
authored
Revert "Add -Wl,-z,undefs to Linux linkopts (#90)" (#98)
This reverts commit a29d777.
1 parent e25b5e6 commit 0cded48

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build_defs.bzl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,7 @@ def pybind_extension(
6868
linkopts = linkopts + select({
6969
"@platforms//os:osx": ["-undefined", "dynamic_lookup"],
7070
Label("@pybind11//:msvc_compiler"): [],
71-
"//conditions:default": [
72-
"-Wl,-Bsymbolic",
73-
"-Wl,-z,undefs",
74-
],
71+
"//conditions:default": ["-Wl,-Bsymbolic"],
7572
}),
7673
linkshared = 1,
7774
tags = tags,

0 commit comments

Comments
 (0)