mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-11 05:13:50 +01:00
gio/tests: Don't depend on a data file that's not built
data.gresource is not built when cross-compiling: Don't add it to test_data in that case. https://bugzilla.gnome.org/show_bug.cgi?id=757628
This commit is contained in:
parent
9fa97b3558
commit
7b9f2509ce
@ -76,7 +76,6 @@ dist_test_data = \
|
|||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
test_data = \
|
test_data = \
|
||||||
test.gresource \
|
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
uninstalled_test_extra_programs = \
|
uninstalled_test_extra_programs = \
|
||||||
@ -520,6 +519,8 @@ libresourceplugin_la_SOURCES = resourceplugin.c plugin_resources.c
|
|||||||
libresourceplugin_la_LDFLAGS = -avoid-version -module -export-dynamic $(no_undefined)
|
libresourceplugin_la_LDFLAGS = -avoid-version -module -export-dynamic $(no_undefined)
|
||||||
libresourceplugin_la_LIBADD = $(LDADD)
|
libresourceplugin_la_LIBADD = $(LDADD)
|
||||||
|
|
||||||
|
test_data += test.gresource
|
||||||
|
|
||||||
# libtool contains a bug whereby the created .la file doesn't contain the correct dlname='' in the case that
|
# libtool contains a bug whereby the created .la file doesn't contain the correct dlname='' in the case that
|
||||||
# you're building a library but not installing it. This is apparently because the only considered use for an
|
# you're building a library but not installing it. This is apparently because the only considered use for an
|
||||||
# uninstalled library is as a convenience library for linking (despite the fact that we give -module). The lack
|
# uninstalled library is as a convenience library for linking (despite the fact that we give -module). The lack
|
||||||
|
Loading…
x
Reference in New Issue
Block a user