null+****@clear*****
null+****@clear*****
2012年 2月 27日 (月) 13:53:02 JST
Kouhei Sutou 2012-02-27 13:53:02 +0900 (Mon, 27 Feb 2012)
New Revision: d74af62d7c328d151fe466f4c9740b3903c2bf1e
Log:
[win32][test] add -no-undefine link option to build DLL
Modified files:
test/unit/core/Makefile.am
test/unit/core/dat/Makefile.am
test/unit/fixtures/Makefile.am
test/unit/fixtures/performance/Makefile.am
test/unit/fixtures/stress/Makefile.am
test/unit/lib/Makefile.am
test/unit/memcached/Makefile.am
test/unit/story/Makefile.am
test/unit/util/Makefile.am
Modified: test/unit/core/Makefile.am (+5 -1)
===================================================================
--- test/unit/core/Makefile.am 2012-02-27 13:30:49 +0900 (3e5c9d3)
+++ test/unit/core/Makefile.am 2012-02-27 13:53:02 +0900 (3ce79cf)
@@ -78,7 +78,11 @@ AM_CFLAGS = \
$(GCUTTER_CFLAGS) \
-DGROONGA=\"$(abs_top_builddir)/src/groonga\"
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
$(top_builddir)/lib/libgroonga.la \
Modified: test/unit/core/dat/Makefile.am (+5 -1)
===================================================================
--- test/unit/core/dat/Makefile.am 2012-02-27 13:30:49 +0900 (895959b)
+++ test/unit/core/dat/Makefile.am 2012-02-27 13:53:02 +0900 (c79e3fe)
@@ -34,7 +34,11 @@ AM_CXXFLAGS = \
$(TEST_CXXFLAGS) \
-DGROONGA=\"$(abs_top_builddir)/src/groonga\"
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
$(top_builddir)/lib/libgroonga.la \
Modified: test/unit/fixtures/Makefile.am (+5 -1)
===================================================================
--- test/unit/fixtures/Makefile.am 2012-02-27 13:30:49 +0900 (3655b46)
+++ test/unit/fixtures/Makefile.am 2012-02-27 13:53:02 +0900 (a9f0a3f)
@@ -18,7 +18,11 @@ INCLUDES = \
-I$(top_srcdir)/lib \
$(GROONGA_INCLUDEDIR)
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
$(top_builddir)/lib/libgroonga.la
Modified: test/unit/fixtures/performance/Makefile.am (+5 -1)
===================================================================
--- test/unit/fixtures/performance/Makefile.am 2012-02-27 13:30:49 +0900 (5e5e2a9)
+++ test/unit/fixtures/performance/Makefile.am 2012-02-27 13:53:02 +0900 (266e69b)
@@ -11,7 +11,11 @@ INCLUDES = \
$(GROONGA_INCLUDEDIR)
AM_CFLAGS = $(GCUTTER_CFLAGS)
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
$(top_builddir)/lib/libgroonga.la \
Modified: test/unit/fixtures/stress/Makefile.am (+5 -1)
===================================================================
--- test/unit/fixtures/stress/Makefile.am 2012-02-27 13:30:49 +0900 (24fb340)
+++ test/unit/fixtures/stress/Makefile.am 2012-02-27 13:53:02 +0900 (beed2cd)
@@ -13,7 +13,11 @@ INCLUDES = \
AM_CFLAGS = $(GCUTTER_CFLAGS)
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
$(top_builddir)/lib/libgroonga.la \
Modified: test/unit/lib/Makefile.am (+5 -4)
===================================================================
--- test/unit/lib/Makefile.am 2012-02-27 13:30:49 +0900 (3f14356)
+++ test/unit/lib/Makefile.am 2012-02-27 13:53:02 +0900 (dc0cb02)
@@ -28,12 +28,13 @@ AM_CFLAGS = \
# $(libdir) here but we can use other absolute path like
# $(abs_builddir). $(abs_builddir) is more reasonable
# absolute path but it's not supported by automake < 1.10. :<
-AM_LDFLAGS = \
- -rpath $(libdir) \
- -avoid-version
+AM_LDFLAGS = \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
- $(top_builddir)/lib/libgroonga.la \
+ $(top_builddir)/lib/libgroonga.la \
$(GCUTTER_LIBS)
noinst_HEADERS = \
Modified: test/unit/memcached/Makefile.am (+6 -1)
===================================================================
--- test/unit/memcached/Makefile.am 2012-02-27 13:30:49 +0900 (9147f58)
+++ test/unit/memcached/Makefile.am 2012-02-27 13:53:02 +0900 (a400306)
@@ -14,7 +14,12 @@ AM_CFLAGS = \
$(GCUTTER_CFLAGS) \
-DGROONGA=\"$(abs_top_builddir)/src/groonga\"
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version -lmemcached
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined \
+ -lmemcached
LIBS = \
$(top_builddir)/lib/libgroonga.la \
Modified: test/unit/story/Makefile.am (+5 -1)
===================================================================
--- test/unit/story/Makefile.am 2012-02-27 13:30:49 +0900 (2bf290b)
+++ test/unit/story/Makefile.am 2012-02-27 13:53:02 +0900 (8d22609)
@@ -13,7 +13,11 @@ AM_CFLAGS = \
$(GCUTTER_CFLAGS) \
-DGROONGA=\"$(abs_top_builddir)/src/groonga\"
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
$(top_builddir)/lib/libgroonga.la \
Modified: test/unit/util/Makefile.am (+5 -1)
===================================================================
--- test/unit/util/Makefile.am 2012-02-27 13:30:49 +0900 (f1b0d34)
+++ test/unit/util/Makefile.am 2012-02-27 13:53:02 +0900 (2a61806)
@@ -10,7 +10,11 @@ INCLUDES = \
$(GROONGA_INCLUDEDIR)
AM_CFLAGS = $(GCUTTER_CFLAGS)
-AM_LDFLAGS = -module -rpath $(libdir) -avoid-version
+AM_LDFLAGS = \
+ -module \
+ -rpath $(libdir) \
+ -avoid-version \
+ -no-undefined
LIBS = \
$(top_builddir)/lib/libgroonga.la \