[gtk+] reftest: Build a shared lib on win32
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] reftest: Build a shared lib on win32
- Date: Mon, 22 Sep 2014 13:48:27 +0000 (UTC)
commit 9d0ec409ff8579d5ac33bd522c40f6e3a945d152
Author: Benjamin Otte <otte redhat com>
Date: Mon Sep 22 15:41:35 2014 +0200
reftest: Build a shared lib on win32
Windows needs a shared library to link the modules against, otherwise
the undefined symbols make it not work.
So build a shared library on Windows.
We don't want a library elsewhere, as that just complicates things, so
we only make the library shared on Windows and keep it as a noinst
library otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=736338
testsuite/reftests/Makefile.am | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am
index 3956849..4655507 100644
--- a/testsuite/reftests/Makefile.am
+++ b/testsuite/reftests/Makefile.am
@@ -30,11 +30,19 @@ gtk_reftest_LDADD = \
$(GMODULE_LIBS) \
$(NULL)
+if PLATFORM_WIN32
+noinst_LTLIBRARIES =
+lib_LTLIBRARIES = \
+ libgtkreftestprivate.la \
+ $(NULL)
+else
noinst_LTLIBRARIES = \
libgtkreftestprivate.la \
$(NULL)
+endif
libgtkreftestprivate_la_CFLAGS = $(gtk_reftest_CFLAGS)
+libgtkreftestprivate_la_LDLAGS = $(no_undefined)
libgtkreftestprivate_la_LIBADD = \
$(top_builddir)/gdk/libgdk-3.la \
$(top_builddir)/gtk/libgtk-3.la \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]