[glib] Fix gio tests makefile for W32



commit b1e02c7e32b40bd9e202fd4e14f046041ae0258b
Author: ÐÑÑÐÐÐ ÐÐÐÑÐÐÑÐÐ <lrn1986 gmail com>
Date:   Sat Jan 19 11:50:28 2013 +0400

    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 files changed, 4 insertions(+), 0 deletions(-)
---
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) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]