From a13562e80074f54f4c7ee72f6cc9e9572b843f89 Mon Sep 17 00:00:00 2001 From: James Zern Date: Mon, 8 Oct 2012 22:21:10 -0700 Subject: [PATCH] autoconf/libwebp: enable dll builds for mingw Change-Id: I7e0ee9f514a7102ee002c432dfb280187f06a596 --- src/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index 69a09ef1..3979535f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,7 +20,11 @@ libwebp_la_LIBADD += dsp/libwebpdsp.la libwebp_la_LIBADD += enc/libwebpencode.la libwebp_la_LIBADD += utils/libwebputils.la -libwebp_la_LDFLAGS = -version-info 4:0:0 +# Use '-no-undefined' to declare that libwebp does not depend on any libraries +# other than the ones listed on the command line, i.e., after linking, it will +# not have unresolved symbols. Some platforms (Windows among them) require all +# symbols in shared libraries to be resolved at library creation. +libwebp_la_LDFLAGS = -no-undefined -version-info 4:0:0 libwebpincludedir = $(includedir)/webp pkgconfig_DATA = libwebp.pc