diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-01-24 08:21:23 +1100 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2016-01-24 08:21:26 +1100 |
commit | 924cade2d94105406737c6427b9312ea69ab839f (patch) | |
tree | ce32412892e2e341913706d72f3d32b8be99880a /microbench | |
parent | 29029748303ea242d11e5a1ae6973835832a0962 (diff) | |
download | flac-924cade2d94105406737c6427b9312ea69ab839f.tar.gz |
Fix linking of microbenchmark program
On some setups, benchmark_residual linkage fails with an undefined
reference to clock_gettime(). Adding -lrt fixes that.
Patch-from: Ozkan Sezer <sezeroz@gmail.com>
Diffstat (limited to 'microbench')
-rw-r--r-- | microbench/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/microbench/Makefile.am b/microbench/Makefile.am index e00097db..452e7487 100644 --- a/microbench/Makefile.am +++ b/microbench/Makefile.am @@ -36,3 +36,5 @@ noinst_HEADERS = util.h noinst_PROGRAMS = benchmark_residual benchmark_residual_SOURCES = benchmark_residual.c util.c + +benchmark_residual_LDADD = @LIB_CLOCK_GETTIME@ |