Skip to content

Commit 2e5f4a6

Browse files
authored
Merge pull request #58 from kersson/fix-undefined-dynamic-lookup
Explicitly specify `-undefined dynamic_lookup`
2 parents fd7d888 + 61271a5 commit 2e5f4a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_defs.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def pybind_extension(
5050
features = features + PYBIND_FEATURES,
5151
linkopts = linkopts + select({
5252
"@pybind11//:msvc_compiler": [],
53-
"@pybind11//:osx": [],
53+
"@pybind11//:osx": ["-undefined", "dynamic_lookup"],
5454
"//conditions:default": ["-Wl,-Bsymbolic"],
5555
}),
5656
linkshared = 1,

0 commit comments

Comments
 (0)