Skip to content

Commit b4619d7

Browse files
authored
Use "LINKER:-undefined,dynamic_lookup" to avoid wrong deduplication (#657)
1 parent 9eba87a commit b4619d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/_core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function(make_torchcodec_libraries
154154
target_link_options(
155155
${pybind_ops_library_name}
156156
PUBLIC
157-
"-undefined dynamic_lookup"
157+
"LINKER:-undefined,dynamic_lookup"
158158
)
159159

160160
# Install all libraries.

0 commit comments

Comments
 (0)