Skip to content

Commit 43202f7

Browse files
authored
Use "LINKER:-undefined,dynamic_lookup" to avoid wrong decuplication
1 parent 0673a4a commit 43202f7

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
@@ -148,7 +148,7 @@ function(make_torchcodec_libraries
148148
target_link_options(
149149
${pybind_ops_library_name}
150150
PUBLIC
151-
"-undefined dynamic_lookup"
151+
"LINKER:-undefined,dynamic_lookup"
152152
)
153153

154154
# Install all libraries.

0 commit comments

Comments
 (0)