gio/tests: Fix out-of-source build and use uninstalled libraries
authorRico Tzschichholz <ricotz@t-online.de>
Sat, 14 Jan 2012 10:18:07 +0000 (11:18 +0100)
committerRico Tzschichholz <ricotz@t-online.de>
Sat, 14 Jan 2012 10:18:07 +0000 (11:18 +0100)
gio/tests/Makefile.am

index 53726fa..4fb0362 100644 (file)
@@ -600,8 +600,8 @@ test.gresource: test.gresource.xml test1.txt test2.txt test3.txt
 noinst_LTLIBRARIES = libresourceplugin.la
 
 libresourceplugin_la_SOURCES = resourceplugin.c plugin_resources.c
-libresourceplugin_la_LDFLAGS = $(G_MODULE_LDFLAGS) -avoid-version -module $(no_undefined) -rpath $(libdir)
-libresourceplugin_la_LIBADD = $(G_MODULE_LIBS)
+libresourceplugin_la_LDFLAGS = -avoid-version -module $(no_undefined) -rpath $(libdir)
+libresourceplugin_la_LIBADD = $(progs_ldadd)
 
 CLEANFILES = gdbus-test-codegen-generated.[ch] gdbus-test-codegen-generated-doc-*.xml