summaryrefslogtreecommitdiff
path: root/Makefile.decl
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2014-09-09 14:48:17 +0000
committerBenjamin Otte <otte@redhat.com>2014-09-15 16:35:40 +0200
commit45ab4ae09bade6f63bc71d4df0aa250c72afe1b2 (patch)
tree75655b456f0f90a4127634d43439aae4afd82b6a /Makefile.decl
parent1741de47dbd4ddb909012fb977f19bd1417fddea (diff)
downloadgtk+-45ab4ae09bade6f63bc71d4df0aa250c72afe1b2.tar.gz
build: Set no_undefined in Makefile.decl
This simplifies the code and - more importantly - fixes the cases like in testsuite/reftests where the no_undefined definition was missing. https://bugzilla.gnome.org/show_bug.cgi?id=736382
Diffstat (limited to 'Makefile.decl')
-rw-r--r--Makefile.decl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.decl b/Makefile.decl
index 901b64b172..4bc7784b60 100644
--- a/Makefile.decl
+++ b/Makefile.decl
@@ -26,6 +26,10 @@ SKIP_GDKTARGET = \
echo "Gtk+Tests:INFO: Skipping GUI tests for non-X11 target."
endif
+if PLATFORM_WIN32
+no_undefined = -no-undefined
+endif
+
XVFB_START = \
${XVFB} -help 2>/dev/null 1>&2 \
&& XID=`for id in $(XIDS) ; do test -e /tmp/.X$$id-lock || { echo $$id; exit 0; }; done; exit 1` \