From 0d615442ba87a3e3540d02e2fa605f2a123bad80 Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Mon, 27 Feb 2012 14:31:37 +0900 Subject: [PATCH] c: supports DLL generation by MinGW libtool requires -no-undefined link option to generate a DLL by MinGW. A DLL should not have any unresolved symbols and -no-undefined link option declares that the library doesn't depends on any libraries other than the ones listed on the command line. See also: description about -no-undefined option at http://www.gnu.org/software/libtool/manual/libtool.html#Link-mode --- cpp/src/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/Makefile.am b/cpp/src/Makefile.am index 4a5dae26..59c65010 100644 --- a/cpp/src/Makefile.am +++ b/cpp/src/Makefile.am @@ -20,7 +20,7 @@ endif # -version-info CURRENT:REVISION:AGE -libmsgpack_la_LDFLAGS = -version-info 3:0:0 +libmsgpack_la_LDFLAGS = -version-info 3:0:0 -no-undefined # backward compatibility @@ -33,7 +33,7 @@ libmsgpackc_la_SOURCES = \ vrefbuffer.c \ zone.c -libmsgpackc_la_LDFLAGS = -version-info 2:0:0 +libmsgpackc_la_LDFLAGS = -version-info 2:0:0 -no-undefined nobase_include_HEADERS = \