From b1e02c7e32b40bd9e202fd4e14f046041ae0258b Mon Sep 17 00:00:00 2001 From: =?utf8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?utf8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Sat, 19 Jan 2013 11:50:28 +0400 Subject: [PATCH] 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 --- gio/tests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) 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) \ -- 2.7.4