test-conformance: Use -export-dynamic instead of -rdynamic

The -rdynamic linker option is specific to ELF so it was breaking
builds on systems with other object formats such as Windows and
Solaris. This patch replaces that option with -export-dynamic which is
a portable libtool option which should do the right thing on each
platform.

http://bugzilla.clutter-project.org/show_bug.cgi?id=1930
This commit is contained in:
Neil Roberts 2010-06-24 17:33:43 +01:00
parent a950388bc6
commit fbeab37828

View File

@ -110,7 +110,7 @@ test_conformance_CFLAGS = -g $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
test_conformance_LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la $(CLUTTER_LIBS)
test_conformance_LDFLAGS = -rdynamic
test_conformance_LDFLAGS = -export-dynamic
.PHONY: test
.PHONY: test-report test-report-normal test-report-disable-npots