Kaydet (Commit) 7916177b authored tarafından Gürer Özen's avatar Gürer Özen

scons bindinglerimizi de build etsin

üst cb503bd1
......@@ -3,6 +3,9 @@
import sys
from distutils.sysconfig import get_config_var as pyconf
# build our bindings too
SConscript(['bindings/SConscript'])
if sys.version_info[1] == 3:
libs = [ 'db', 'm', "python2.3" ]
else:
......@@ -29,6 +32,6 @@ source = """
src/iksemel.c
"""
env = Environment(CC="gcc", CCFLAGS=ccflags)
env = Environment(CCFLAGS=ccflags)
env.Program("comar", Split(source), CPPPATH=cpppath, LIBS=libs, LIBPATH=libpath)
#!/usr/bin/python
env = Environment(CCFLAGS="-O2 -Wall")
env.SharedLibrary("libcomar", [ "libcomar.c" ])
env.Program("hav", [ "libcomar.c", "hav.c" ])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment