From 1b31f25307cedc426a13e6d8d9fc20f73174e131 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 29 Apr 2012 23:35:40 +0200 Subject: [PATCH] modules are not shared libraries, build them with -module -avoid-version Fixes bug #29319 --- util/cairo-fdr/Makefile.am | 2 +- util/cairo-sphinx/Makefile.am | 2 +- util/cairo-trace/Makefile.am | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/util/cairo-fdr/Makefile.am b/util/cairo-fdr/Makefile.am index 5cd5798..42849f0 100644 --- a/util/cairo-fdr/Makefile.am +++ b/util/cairo-fdr/Makefile.am @@ -9,5 +9,5 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ cairo_fdr_la_SOURCES = fdr.c cairo_fdr_la_CPPFLAGS = $(AM_CPPFLAGS) cairo_fdr_la_CFLAGS = $(CAIRO_CFLAGS) -cairo_fdr_la_LDFLAGS = -module -no-undefined +cairo_fdr_la_LDFLAGS = -module -no-undefined -avoid-version cairo_fdr_la_LIBADD = -ldl diff --git a/util/cairo-sphinx/Makefile.am b/util/cairo-sphinx/Makefile.am index b25bd23..39acf37 100644 --- a/util/cairo-sphinx/Makefile.am +++ b/util/cairo-sphinx/Makefile.am @@ -11,7 +11,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src \ cairo_sphinx_la_SOURCES = fdr.c cairo_sphinx_la_CPPFLAGS = $(AM_CPPFLAGS) cairo_sphinx_la_CFLAGS = $(CAIRO_CFLAGS) -cairo_sphinx_la_LDFLAGS = -module -no-undefined +cairo_sphinx_la_LDFLAGS = -module -no-undefined -avoid-version cairo_sphinx_la_LIBADD = -ldl cairo_sphinx_SOURCES = sphinx.c diff --git a/util/cairo-trace/Makefile.am b/util/cairo-trace/Makefile.am index 3278abe..f870a02 100644 --- a/util/cairo-trace/Makefile.am +++ b/util/cairo-trace/Makefile.am @@ -11,7 +11,7 @@ libcairo_trace_la_SOURCES = trace.c libcairo_trace_la_CPPFLAGS = -DCAIRO_TRACE_OUTDIR="\"$(cairooutdir)\"" \ $(AM_CPPFLAGS) libcairo_trace_la_CFLAGS = $(CAIRO_CFLAGS) $(real_pthread_CFLAGS) -libcairo_trace_la_LDFLAGS = -no-undefined +libcairo_trace_la_LDFLAGS = -no-undefined -module -avoid-version libcairo_trace_la_LIBADD = $(real_pthread_LIBS) -lz if CAIRO_HAS_DL -- 1.7.9.2