[Lunar-commits] <moonbase-other> llvm: fix libffi support

v4hn me at v4hn.de
Fri Jul 12 20:57:42 CEST 2013


commit eab5ac8c9c2832641f02ae438364ac925d8bbeb4
Author: v4hn <me at v4hn.de>
Date: Fri, 12 Jul 2013 11:57:10 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/eab5ac8c9c2832641f02ae438364ac925d8bbeb4

llvm: fix libffi support
---
  compilers/llvm/BUILD | +4/-0     
  1 file changed, 4 insertions(+)

--- a/compilers/llvm/BUILD
+++ b/compilers/llvm/BUILD
@@ -1,3 +1,7 @@
 OPTS+=" --enable-shared --enable-targets=host-only" &&
 
+if in_depends $MODULE libffi; then
+   CPPFLAGS+=" -I/usr/lib/libffi-$(lvu installed libffi)/include"
+fi &&
+
 default_build




More information about the Lunar-commits mailing list