Fixed a lazySlot bug where lazy slots in different objects end up pointing to the...
[io/quag.git] / addons / Python / build.io
blob2e063d0dc278b14f177c3c6a86c8a14d5dd2d8e4
1 AddonBuilder clone do(
2 dependsOnHeader("Python.h")
4 version := list("2.6", "2.5", "2.4", "2.3", "2.2") detect(v, System system("python" .. v .. " -V 2> /dev/null") == 0)
5 version ifNil(version = "2.4")
7 dependsOnFrameworkOrLib("Python", "python" .. version)
8 headerSearchPaths foreach(headerSearchPath, appendHeaderSearchPath(headerSearchPath .. "/python" .. version))
10 debs atPut("python2.4", "python2.4-dev")
11 ebuilds atPut("python2.4", "python")
12 pkgs atPut("python2.4", "python24")
13 rpms atPut("python2.4", "python-devel")