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
This commit is contained in:
@ -30,11 +30,19 @@ gtk_reftest_LDADD = \
|
|||||||
$(GMODULE_LIBS) \
|
$(GMODULE_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
|
if PLATFORM_WIN32
|
||||||
|
noinst_LTLIBRARIES =
|
||||||
|
lib_LTLIBRARIES = \
|
||||||
|
libgtkreftestprivate.la \
|
||||||
|
$(NULL)
|
||||||
|
else
|
||||||
noinst_LTLIBRARIES = \
|
noinst_LTLIBRARIES = \
|
||||||
libgtkreftestprivate.la \
|
libgtkreftestprivate.la \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
endif
|
||||||
|
|
||||||
libgtkreftestprivate_la_CFLAGS = $(gtk_reftest_CFLAGS)
|
libgtkreftestprivate_la_CFLAGS = $(gtk_reftest_CFLAGS)
|
||||||
|
libgtkreftestprivate_la_LDLAGS = $(no_undefined)
|
||||||
libgtkreftestprivate_la_LIBADD = \
|
libgtkreftestprivate_la_LIBADD = \
|
||||||
$(top_builddir)/gdk/libgdk-3.la \
|
$(top_builddir)/gdk/libgdk-3.la \
|
||||||
$(top_builddir)/gtk/libgtk-3.la \
|
$(top_builddir)/gtk/libgtk-3.la \
|
||||||
|
|||||||
Reference in New Issue
Block a user