diff options
Diffstat (limited to 'homebrew/boostpython/.make.sh-auto')
-rw-r--r-- | homebrew/boostpython/.make.sh-auto | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/boostpython/.make.sh-auto b/homebrew/boostpython/.make.sh-auto new file mode 100644 index 000000000..1b5120094 --- /dev/null +++ b/homebrew/boostpython/.make.sh-auto @@ -0,0 +1,11 @@ +pkg:setup +args = ["--prefix=#{prefix}", "--libdir=#{lib}", "-d2", "-j#{ENV.make_jobs}", "--layout=tagged-1.66", "threading=multi,single", "link=shared,static"] +args << "cxxflags=-std=c++14" +if ENV.compiler == :clang +args << "cxxflags=-stdlib=libc++" << "linkflags=-stdlib=libc++" +end +pyver = Language::Python.major_minor_version "python" +./bootstrap.sh --prefix=${PKG_TAPF} --libdir=${PKG_TAPF}/lib --with-libraries=python --with-python=python +./b2 --build-dir=build-python --stagedir=stage-python python=#{pyver} *args +lib.install Dir["stage-python/lib/*py*"] +doc.install Dir["libs/python/doc/*"] |