llvm@3.9: fix use of deprecated option name "python"

This commit is contained in:
ilovezfs 2018-03-02 07:22:18 -08:00
parent 5da1d0e5af
commit b6074a85fd

View file

@ -235,7 +235,7 @@ class LlvmAT39 < Formula
args << "-DLLVM_ENABLE_LIBCXX=ON" if build_libcxx? args << "-DLLVM_ENABLE_LIBCXX=ON" if build_libcxx?
if build.with?("lldb") && build.with?("python") if build.with?("lldb") && build.with?("python@2")
args << "-DLLDB_RELOCATABLE_PYTHON=ON" args << "-DLLDB_RELOCATABLE_PYTHON=ON"
args << "-DPYTHON_LIBRARY=#{pylib}" args << "-DPYTHON_LIBRARY=#{pylib}"
args << "-DPYTHON_INCLUDE_DIR=#{pyinclude}" args << "-DPYTHON_INCLUDE_DIR=#{pyinclude}"