From: Руслан Ижбулатов Date: Sat, 19 Jan 2013 07:50:28 +0000 (+0400) Subject: Fix gio tests makefile for W32 X-Git-Tag: 2.35.6~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1e02c7e32b40bd9e202fd4e14f046041ae0258b;p=platform%2Fupstream%2Fglib.git Fix gio tests makefile for W32 While compiling, libtool will say that undefined symbols are not allowed, and will refuse to make you a dll. This is only one line, easy to miss. And it doesn't prevent `make' from completing successfully. The code this patch adds is from other Makefile.am files that use $(no_undefined). It's absence in gio is, most likely, an oversight. Fixes #692058 --- diff --git a/gio/tests/Makefile.am b/gio/tests/Makefile.am index db73a65..d33b7f0 100644 --- a/gio/tests/Makefile.am +++ b/gio/tests/Makefile.am @@ -154,6 +154,10 @@ if OS_WIN32 TEST_PROGS += win32-streams endif +if PLATFORM_WIN32 +no_undefined = -no-undefined +endif + actions_SOURCES = actions.c gdbus-sessionbus.c gdbus-sessionbus.h unix_streams_LDADD = $(LDADD) \