vcpkg/ports/wasmedge/quotes.patch

20 lines
1.1 KiB
Diff

diff --git a/cmake/Helper.cmake b/cmake/Helper.cmake
index 47dc2be..a9c84ff 100644
--- a/cmake/Helper.cmake
+++ b/cmake/Helper.cmake
@@ -140,10 +140,10 @@ if((WASMEDGE_LINK_LLVM_STATIC OR WASMEDGE_BUILD_STATIC_LIB) AND WASMEDGE_BUILD_A
core lto native nativecodegen option passes support transformutils all-targets
OUTPUT_VARIABLE WASMEDGE_LLVM_LINK_LIBS_NAME
)
- string(REPLACE "-l" "" WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
- string(REGEX REPLACE "[\r\n]" "" WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
- string(REPLACE " " "\;" WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
- set(WASMEDGE_LLVM_LINK_LIBS_NAME ${WASMEDGE_LLVM_LINK_LIBS_NAME})
+ string(REPLACE "-l" "" WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
+ string(REGEX REPLACE "[\r\n]" "" WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
+ string(REPLACE " " "\;" WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
+ set(WASMEDGE_LLVM_LINK_LIBS_NAME "${WASMEDGE_LLVM_LINK_LIBS_NAME}")
list(APPEND WASMEDGE_LLVM_LINK_STATIC_COMPONENTS