mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
14 lines
541 B
Diff
14 lines
541 B
Diff
|
Index: cmake/modules/LLVM-Config.cmake
|
||
|
===================================================================
|
||
|
--- cmake/modules/LLVM-Config.cmake
|
||
|
+++ cmake/modules/LLVM-Config.cmake
|
||
|
@@ -68,7 +68,7 @@
|
||
|
cmake_parse_arguments(ARG "USE_SHARED" "" "" ${ARGN})
|
||
|
set(link_components ${ARG_UNPARSED_ARGUMENTS})
|
||
|
|
||
|
- if(USE_SHARED)
|
||
|
+ if(ARG_USE_SHARED)
|
||
|
# If USE_SHARED is specified, then we link against libLLVM,
|
||
|
# but also against the component libraries below. This is
|
||
|
# done in case libLLVM does not contain all of the components
|