summaryrefslogtreecommitdiff
path: root/decoder
diff options
context:
space:
mode:
authormjdenkowski <michael.j.denkowski@gmail.com>2014-08-07 16:39:19 -0400
committermjdenkowski <michael.j.denkowski@gmail.com>2014-08-07 16:39:19 -0400
commit71aa8f36e7a283d4e3ed8fb7484e4df966f4be4a (patch)
tree078afa9f903ed8b90538f5c33699de15831830c3 /decoder
parent19e1c5a5fbe178b91b5e2995584b5e72a7a5940f (diff)
Option for static linking (./configure --with-static). Currently limited to a few
binaries.
Diffstat (limited to 'decoder')
-rw-r--r--decoder/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/Makefile.am b/decoder/Makefile.am
index c85f17ed..02e58479 100644
--- a/decoder/Makefile.am
+++ b/decoder/Makefile.am
@@ -20,7 +20,7 @@ trule_test_SOURCES = trule_test.cc
trule_test_LDADD = $(BOOST_UNIT_TEST_FRAMEWORK_LDFLAGS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) libcdec.a ../mteval/libmteval.a ../utils/libutils.a
cdec_SOURCES = cdec.cc
-cdec_LDFLAGS= -rdynamic
+cdec_LDFLAGS= -rdynamic $(STATIC_FLAGS)
cdec_LDADD = libcdec.a ../mteval/libmteval.a ../utils/libutils.a ../klm/search/libksearch.a ../klm/lm/libklm.a ../klm/util/libklm_util.a ../klm/util/double-conversion/libklm_util_double.a
AM_CPPFLAGS = -DTEST_DATA=\"$(top_srcdir)/decoder/test_data\" -DBOOST_TEST_DYN_LINK -W -Wno-sign-compare -I$(top_srcdir) -I$(top_srcdir)/mteval -I$(top_srcdir)/utils -I$(top_srcdir)/klm