Added patch explanation OBS-URL: https://build.opensuse.org/request/show/287234 OBS-URL: https://build.opensuse.org/package/show/devel:languages:D/ldc?expand=0&rev=1
11 lines
492 B
Diff
11 lines
492 B
Diff
--- ldc.orig/cmake/Modules/FindLLVM.cmake 2014-12-15 12:56:11.388035601 +0100
|
|
+++ ldc/cmake/Modules/FindLLVM.cmake 2014-12-15 12:56:33.906841195 +0100
|
|
@@ -130,6 +130,7 @@
|
|
${_quiet_arg}
|
|
)
|
|
file(TO_CMAKE_PATH "${tmplibs}" tmplibs)
|
|
+ string(REGEX REPLACE "\\.a" ".so" tmplibs ${tmplibs})
|
|
string(REGEX REPLACE "([$^.[|*+?()]|])" "\\\\\\1" pattern "${prefix}/")
|
|
string(REGEX MATCHALL "${pattern}[^ ]+" LLVM_${var} ${tmplibs})
|
|
endmacro()
|