From 43202f7136d3c1c78e84ed8421bf3d229f44f1df Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Mon, 28 Apr 2025 09:55:44 +0200 Subject: [PATCH] Use "LINKER:-undefined,dynamic_lookup" to avoid wrong decuplication --- src/torchcodec/_core/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/torchcodec/_core/CMakeLists.txt b/src/torchcodec/_core/CMakeLists.txt index c79f62f3..206448f5 100644 --- a/src/torchcodec/_core/CMakeLists.txt +++ b/src/torchcodec/_core/CMakeLists.txt @@ -148,7 +148,7 @@ function(make_torchcodec_libraries target_link_options( ${pybind_ops_library_name} PUBLIC - "-undefined dynamic_lookup" + "LINKER:-undefined,dynamic_lookup" ) # Install all libraries.