diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-15 12:18:47 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2009-10-15 13:05:47 +0100 |
commit | dac73d260a9b9a848bb97436ad84081c51629511 (patch) | |
tree | 192548a3f1708554c056c70f2e9b8ea002f662ba /util | |
parent | ef9286751d8346ecb803bfb5916581ee4dfc84db (diff) |
[build] Link against pthread-stubs
Avoid pulling in the real pthread library if the application is single
threaded and not using pthreads, by linking against pthread-stubs
instead.
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-trace/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cairo-trace/Makefile.am b/util/cairo-trace/Makefile.am index 814a0f005..5b6e781aa 100644 --- a/util/cairo-trace/Makefile.am +++ b/util/cairo-trace/Makefile.am @@ -13,7 +13,7 @@ cairo_trace_la_CPPFLAGS = -DCAIRO_TRACE_OUTDIR="\"$(cairooutdir)\"" \ cairo_trace_la_CFLAGS = $(CAIRO_CFLAGS) cairo_trace_la_LDFLAGS = -module -no-undefined -cairo_trace_la_LIBADD = -lz +cairo_trace_la_LIBADD = -lz $(pthread_LIBS) if CAIRO_HAS_DL cairo_trace_la_LIBADD += -ldl endif |