summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/llvm/llvm/llvm-config
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm/llvm-config')
-rw-r--r--meta/recipes-devtools/llvm/llvm/llvm-config9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm/llvm-config b/meta/recipes-devtools/llvm/llvm/llvm-config
index a45f38c650..5e4ded2da5 100644
--- a/meta/recipes-devtools/llvm/llvm/llvm-config
+++ b/meta/recipes-devtools/llvm/llvm/llvm-config
@@ -29,6 +29,15 @@ for arg in "$@"; do
--ldflags)
output="${output} ${LDFLAGS}"
;;
+ --shared-mode)
+ output="${output} shared"
+ ;;
+ --libs)
+ output="${output} -lLLVM"
+ ;;
+ --link-shared)
+ break
+ ;;
*)
remain="${remain} ${arg}"
;;