[PATCH libnvme] examples: Add src/ into the include and library path

Keith Busch kbusch at kernel.org
Tue Oct 20 11:14:26 EDT 2020


On Tue, Oct 20, 2020 at 08:45:31PM +0800, Han Han wrote:
> diff --git a/examples/Makefile b/examples/Makefile
> index be867a7..24f8574 100644
> --- a/examples/Makefile
> +++ b/examples/Makefile
> @@ -1,5 +1,5 @@
>  CFLAGS ?= -g -O2
> -override CFLAGS += -Wall -D_GNU_SOURCE
> +override CFLAGS += -Wall -D_GNU_SOURCE -I ../src -L ../src

I guess the examples assumed the library was installed, but that doesn't
make sense if you're testing within the repo. Patch applied, thank you.



More information about the Linux-nvme mailing list