changeset 3209:7ef17f0b3ff8

src/octave.mk: Enable locating of LLVM Config utility for Mac OS X targets
author Anirudha Bose <ani07nov@gmail.com>
date Thu, 19 Sep 2013 03:03:30 +0530
parents f8a423fb7cc1
children 1d0fd132afa6
files src/octave.mk
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/octave.mk
+++ b/src/octave.mk
@@ -90,7 +90,10 @@
     --with-qrupdate-libdir='$(HOST_LIBDIR)' \
     --with-arpack-includedir='$(HOST_INCDIR)' \
     --with-arpack-libdir='$(HOST_LIBDIR)' \
-    F77=$(MXE_F77) \
+    F77=$(MXE_F77)
+  ifeq ($(ENABLE_JIT), yes)
+    $(PKG)_DARWIN_EXTRA_CONFIG_OPTIONS += LLVM_CONFIG=`find /opt/local/libexec -name llvm-config 2>/dev/null | head -n 1`
+  endif
 endif