summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2008-01-04 06:32:25 +0000
committerLi Yuan <liyuan@src.gnome.org>2008-01-04 06:32:25 +0000
commit4bae9088c162bee458a7ff738dee4a5f785d70a4 (patch)
treef872ce0e39cf1ef5b13208c77532480484ad915a /tests
parent0ec654f4096c1e4d1b27ce2e68a882175c713974 (diff)
downloadatk-4bae9088c162bee458a7ff738dee4a5f785d70a4.tar.gz
Bug #502840. Derived type definition convenience macros Bug #500978. Fixes
2008-01-04 Li Yuan <li.yuan@sun.com> * atk/atkutil.h: Bug #502840. Derived type definition convenience macros * tests/Makefile.am: Bug #500978. Fixes the building of the test modules as dynamic on Cygwin and MinGW. svn path=/trunk/; revision=1217
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index e87b07e..7758530 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,8 @@
+if PLATFORM_WIN32
+no_undefined = -no-undefined
+else
+no_undefined =
+endif
noinst_LTLIBRARIES = \
libteststateset.la \
@@ -16,6 +21,7 @@ moduledir = $(libdir)/gtk-2.0/modules
libteststateset_la_SOURCES = teststateset.c
libteststateset_la_LDFLAGS = \
-rpath $(moduledir) \
+ $(no_undefined) \
-avoid-version \
-module
libteststateset_la_LIBADD = $(libatk) $(DEP_LIBS)
@@ -23,6 +29,7 @@ libteststateset_la_LIBADD = $(libatk) $(DEP_LIBS)
libtestrelation_la_SOURCES = testrelation.c
libtestrelation_la_LDFLAGS = \
-rpath $(moduledir) \
+ $(no_undefined) \
-avoid-version \
-module
libtestrelation_la_LIBADD = $(libatk) $(DEP_LIBS)