Skip to content

Commit

Permalink
Revert "Add -Wl,-z,undefs to Linux linkopts (#90)" (#98)
Browse files Browse the repository at this point in the history
This reverts commit a29d777.
  • Loading branch information
hofbi authored Aug 27, 2024
1 parent e25b5e6 commit 0cded48
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,7 @@ def pybind_extension(
linkopts = linkopts + select({
"@platforms//os:osx": ["-undefined", "dynamic_lookup"],
Label("@pybind11//:msvc_compiler"): [],
"//conditions:default": [
"-Wl,-Bsymbolic",
"-Wl,-z,undefs",
],
"//conditions:default": ["-Wl,-Bsymbolic"],
}),
linkshared = 1,
tags = tags,
Expand Down

0 comments on commit 0cded48

Please sign in to comment.