summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Dyer <redpony@gmail.com>2014-01-20 21:12:57 -0500
committerChris Dyer <redpony@gmail.com>2014-01-20 21:12:57 -0500
commit6f696e8d123a7007cb8f7725b5dbf4ffefa76890 (patch)
treeef299954b9b4ad064108f841c4066a8ddbecca95
parent8d9cbc6605685401e14f9ed94c5be19c3c73a497 (diff)
fix link error
-rw-r--r--python/setup.py.in2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/setup.py.in b/python/setup.py.in
index a2aa28f6..3da405a1 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -9,8 +9,6 @@ LIB = ['../decoder', '../utils', '../mteval', '../training/utils', '../klm/lm',
LIBS = re.findall('-l([^\s]+)', '@LIBS@')
CPPFLAGS = re.findall('-[^\s]+', '@CPPFLAGS@ @CXXFLAGS@')
LDFLAGS = re.findall('-[^\s]+', '@LDFLAGS@')
-# Make sure linker flags go only to the linker
-LDFLAGS = [opt.replace('-R', '-Wl,-rpath,') for opt in LDFLAGS]
ext_modules = [
Extension(name='cdec._cdec',