diff options
author | Kenneth Heafield <github@kheafield.com> | 2013-06-05 12:41:44 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2013-06-05 12:41:44 +0400 |
commit | 611df02326ce593b545ad36edddcf89027376711 (patch) | |
tree | 14d0c75dcfdd1ab5b04cd01606997e7cdbfb3c84 /util | |
parent | 0c48e687d1237b1dd1a2d16da6f593b0e927bf4d (diff) |
librt for single threaded
Diffstat (limited to 'util')
-rw-r--r-- | util/Jamfile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/util/Jamfile b/util/Jamfile index 816b6bcd9..87ca96b97 100644 --- a/util/Jamfile +++ b/util/Jamfile @@ -11,12 +11,18 @@ if [ test_library "lzma" ] && [ test_header "lzma.h" ] { compressed_deps += lzma ; } +local rt_deps = ; +if [ test_library "rt" ] { + external-lib rt ; + rt_deps += rt ; +} + obj read_compressed.o : read_compressed.cc : $(compressed_flags) ; alias read_compressed : read_compressed.o $(compressed_deps) ; obj read_compressed_test.o : read_compressed_test.cc /top//boost_unit_test_framework : $(compressed_flags) ; obj file_piece_test.o : file_piece_test.cc /top//boost_unit_test_framework : $(compressed_flags) ; -fakelib kenutil : bit_packing.cc ersatz_progress.cc exception.cc file.cc file_piece.cc mmap.cc murmur_hash.cc pool.cc read_compressed scoped.cc string_piece.cc usage.cc double-conversion//double-conversion : <include>.. : : <include>.. ; +fakelib kenutil : bit_packing.cc ersatz_progress.cc exception.cc file.cc file_piece.cc mmap.cc murmur_hash.cc pool.cc read_compressed scoped.cc string_piece.cc usage.cc double-conversion//double-conversion $(rt_deps) : <include>.. : : <include>.. ; import testing ; |