[Libguestfs] [PATCH nbdkit] tests: Include correct header files in layers test.
Nir Soffer
nsoffer at redhat.com
Wed Aug 8 15:12:02 UTC 2018
On Wed, Aug 8, 2018 at 1:05 PM Richard W.M. Jones <rjones at redhat.com> wrote:
> Don't include the one from /usr/include.
>
> Fixes commit 05a8c47b9be8a6b8ffc091eab461fece9d40dcd0.
>
> Thanks: Nir Soffer.
>
Works for me now, thanks!
> ---
> tests/Makefile.am | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 80b5c6d..86bef71 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -553,6 +553,7 @@ noinst_LTLIBRARIES += \
> test_layers_plugin_la_SOURCES = \
> test-layers-plugin.c \
> $(top_srcdir)/include/nbdkit-plugin.h
> +test_layers_plugin_la_CPPFLAGS = -I$(top_srcdir)/include
> test_layers_plugin_la_CFLAGS = $(WARNINGS_CFLAGS)
> # For use of the -rpath option, see:
> # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html
> @@ -562,6 +563,7 @@ test_layers_plugin_la_LDFLAGS = \
> test_layers_filter1_la_SOURCES = \
> test-layers-filter.c \
> $(top_srcdir)/include/nbdkit-filter.h
> +test_layers_filter1_la_CPPFLAGS = -I$(top_srcdir)/include
> test_layers_filter1_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter1"'
> # For use of the -rpath option, see:
> # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html
> @@ -571,6 +573,7 @@ test_layers_filter1_la_LDFLAGS = \
> test_layers_filter2_la_SOURCES = \
> test-layers-filter.c \
> $(top_srcdir)/include/nbdkit-filter.h
> +test_layers_filter2_la_CPPFLAGS = -I$(top_srcdir)/include
> test_layers_filter2_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter2"'
> # For use of the -rpath option, see:
> # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html
> @@ -580,6 +583,7 @@ test_layers_filter2_la_LDFLAGS = \
> test_layers_filter3_la_SOURCES = \
> test-layers-filter.c \
> $(top_srcdir)/include/nbdkit-filter.h
> +test_layers_filter3_la_CPPFLAGS = -I$(top_srcdir)/include
> test_layers_filter3_la_CFLAGS = $(WARNINGS_CFLAGS) -Dlayer='"filter3"'
> # For use of the -rpath option, see:
> # https://lists.gnu.org/archive/html/libtool/2007-07/msg00067.html
> --
> 2.18.0
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20180808/b4134c6e/attachment.htm>
More information about the Libguestfs
mailing list