tests: make "./tests/foo" work from the toplevel dir
authorDan Winship <danw@gnome.org>
Thu, 20 Oct 2011 21:12:25 +0000 (17:12 -0400)
committerDan Winship <danw@gnome.org>
Thu, 20 Oct 2011 21:12:25 +0000 (17:12 -0400)
tests/Makefile.am

index 9f90f88..4fb30e2 100644 (file)
@@ -1,6 +1,6 @@
 INCLUDES =             \
        -I$(top_srcdir) \
-       -DSRCDIR=\""$(srcdir)"\" \
+       -DSRCDIR=\""$(abs_srcdir)"\" \
        -DLIBSOUP_DISABLE_DEPRECATED \
        $(SOUP_MAINTAINER_FLAGS) \
        $(XML_CFLAGS)   \