Skip to content

Commit ae25522

Browse files
committed
Try propagating usage requirements properly
1 parent 3b915c7 commit ae25522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxx/cmake/Modules/HandleLibCXXABI.cmake

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,10 @@ function(setup_abi_library abi_target linked_into input)
173173
else()
174174
set(merge_target "cxxabi_shared_for_merging")
175175
endif()
176-
message(STATUS "LDIONNE: merge_target=${merge_target}")
177176
add_library(${abi_target} INTERFACE)
178177
_merge_static_library(${abi_target}
179178
"$<TARGET_PROPERTY:${merge_target},LIBRARY_OUTPUT_DIRECTORY>/${CMAKE_STATIC_LIBRARY_PREFIX}$<TARGET_PROPERTY:${merge_target},OUTPUT_NAME>${CMAKE_STATIC_LIBRARY_SUFFIX}")
179+
target_link_libraries(${abi_target} INTERFACE ${merge_target}) # Propagate usage requirements
180180
target_link_libraries(${abi_target} INTERFACE cxxabi-headers)
181181
add_dependencies(${abi_target} ${merge_target})
182182
else()

0 commit comments

Comments
 (0)