Add -lrt in Jamfiles to linux platforms

This commit is contained in:
Ion Gaztañaga
2014-07-14 23:30:33 +02:00
parent de72bbf2d8
commit acd03c0fa3
2 changed files with 3 additions and 0 deletions

View File

@@ -28,6 +28,7 @@ rule test_all
<toolset>gcc,<target-os>windows:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
<host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
<host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
<host-os>linux:<linkflags>"-lrt"
: # test-files
: # requirements
] ;
@@ -44,6 +45,7 @@ rule test_all
<toolset>gcc-mingw:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
<host-os>hpux,<toolset>gcc:<linkflags>"-Wl,+as,mpas"
<host-os>windows,<toolset>clang:<linkflags>"-lole32 -loleaut32 -lpsapi -ladvapi32"
<host-os>linux:<linkflags>"-lrt"
] ;
}