llvm/libcxx-libdir.patch

14 lines
423 B
Diff

Index: libcxx-3.5.0.src/lib/CMakeLists.txt
===================================================================
--- libcxx-3.5.0.src.orig/lib/CMakeLists.txt
+++ libcxx-3.5.0.src/lib/CMakeLists.txt
@@ -96,6 +96,6 @@ set_target_properties(cxx
)
install(TARGETS cxx
- LIBRARY DESTINATION lib
- ARCHIVE DESTINATION lib
+ LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
+ ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}
)