summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-11-28 18:54:02 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-11-29 10:13:53 +0000
commit36147140ce56d8d3492b971a9b6ceff97e212e01 (patch)
treefe3cd20284375dd42dab8947a6395c2fb6ab5c78
parented6bd4766cb47e97b1a6ecb81eff5bf4673d549b (diff)
[perf] Fix build
If automake detects the use of cairo_perf_LDADD in an unused conditional that overrides the default - so we need to manually set cairo_perf_LDADD.
-rw-r--r--perf/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/perf/Makefile.am b/perf/Makefile.am
index 18eed9f2..ae39dbc1 100644
--- a/perf/Makefile.am
+++ b/perf/Makefile.am
@@ -54,9 +54,10 @@ else
cairo_perf_SOURCES += cairo-perf-posix.c
endif
endif
+cairo_perf_LDADD = $(LDADD)
if CAIRO_HAS_SDL_SURFACE
-cairo_perf_LDADD = $(LDADD) $(sdl_LIBS)
+cairo_perf_LDADD += $(sdl_LIBS)
endif
libcairoperf_la_SOURCES = \