summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-25 23:29:26 -0400
committerChris Dyer <cdyer@cab.ark.cs.cmu.edu>2012-10-25 23:29:26 -0400
commitae974fa4ce99a99960226f6e112b0a850dbf4ee5 (patch)
tree49cddc20264f5077a1402b248751a8541d62731f /python
parent8682110b8162fad3bd59d8244fe3fd56fa5d354e (diff)
fix python build
Diffstat (limited to 'python')
-rw-r--r--python/setup.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/setup.py.in b/python/setup.py.in
index 4d77fbc7..f191ef8b 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -3,7 +3,7 @@ from distutils.extension import Extension
import re
INC = ['..', 'src/', '../decoder', '../utils', '../mteval']
-LIB = ['../decoder', '../utils', '../mteval', '../training', '../klm/lm', '../klm/util']
+LIB = ['../decoder', '../utils', '../mteval', '../training', '../klm/lm', '../klm/util', '../klm/search']
# Set automatically by configure
LIBS = re.findall('-l([^\s]+)', '@LIBS@')
@@ -17,7 +17,7 @@ ext_modules = [
sources=['src/_cdec.cpp'],
include_dirs=INC,
library_dirs=LIB,
- libraries=LIBS + ['z', 'cdec', 'utils', 'mteval', 'training', 'klm', 'klm_util'],
+ libraries=LIBS + ['z', 'cdec', 'utils', 'mteval', 'training', 'klm', 'klm_util', 'ksearch'],
extra_compile_args=CPPFLAGS,
extra_link_args=LDFLAGS),
Extension(name='cdec.sa._sa',