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
commit17abaf1a6c1523f4d53a11c5d940ab59dcbc63b4 (patch)
tree49d804cdcee62cb40fa0d06cf55eb115552cd742 /python
parentc01ce7e68fe62119a553235afcb241542da50d91 (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',