summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Heafield <github@kheafield.com>2012-09-13 06:36:28 -0700
committerKenneth Heafield <github@kheafield.com>2012-09-13 06:36:28 -0700
commitac3011136c455db79fcc06707908ce729195d510 (patch)
tree4764e49eb9ada7b5b04bfab954ee3ca286cd5d08
parent24f29a96f5ab8c9a4f71bf53ee100d0ad2761694 (diff)
Fix compilation with static
-rw-r--r--dpmert/Jamfile4
-rw-r--r--jam-files/sanity.jam2
-rw-r--r--mira/Jamfile2
3 files changed, 4 insertions, 4 deletions
diff --git a/dpmert/Jamfile b/dpmert/Jamfile
index 647caac8..6f6a3d40 100644
--- a/dpmert/Jamfile
+++ b/dpmert/Jamfile
@@ -9,14 +9,14 @@ lib dpmert :
mert_geometry.cc
..//utils
..//mteval
- ..//decoder
+ ../decoder//decoder
../klm/lm//kenlm
..//boost_program_options
: <include>.
: :
<library>..//utils
<library>..//mteval
- <library>..//decoder
+ <library>../decoder//decoder
<library>../klm/lm//kenlm
<library>..//boost_program_options
<include>.
diff --git a/jam-files/sanity.jam b/jam-files/sanity.jam
index 086f20ae..738316f8 100644
--- a/jam-files/sanity.jam
+++ b/jam-files/sanity.jam
@@ -63,7 +63,7 @@ requirements = ;
FORCE-STATIC = [ option.get "static" : : "yes" ] ;
if $(FORCE-STATIC) {
- requirements += <runtime-link>static ;
+ requirements += <link>static <runtime-link>static ;
}
#Determine if a library can be compiled statically.
diff --git a/mira/Jamfile b/mira/Jamfile
index 8825b887..a483e57d 100644
--- a/mira/Jamfile
+++ b/mira/Jamfile
@@ -1 +1 @@
-exe kbest_mira : kbest_mira.cc ..//decoder ;
+exe kbest_mira : kbest_mira.cc ../decoder//decoder ;