2019-03-02 08:32:49 +00:00
|
|
|
From d77c93b1cc42fc6cbda1b2abf941b001ad741cba Mon Sep 17 00:00:00 2001
|
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
Date: Sat, 2 Mar 2019 08:28:04 +0000
|
2019-03-05 19:34:23 +00:00
|
|
|
Subject: [PATCH 1/2] common: utils: Use include/ directory to get
|
2019-03-02 08:32:49 +00:00
|
|
|
<nbdkit-plugin.h>
|
|
|
|
|
|
|
|
This worked before because nbdkit was installed by the system package
|
|
|
|
manager, but if not:
|
|
|
|
|
|
|
|
utils.c:42:10: fatal error: nbdkit-plugin.h: No such file or directory
|
|
|
|
42 | #include <nbdkit-plugin.h>
|
|
|
|
| ^~~~~~~~~~~~~~~~~
|
|
|
|
compilation terminated.
|
|
|
|
|
|
|
|
Fixes commit 96b468d2e4214d15d722bd44db289d95e137280a.
|
|
|
|
---
|
|
|
|
common/utils/Makefile.am | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
diff --git a/common/utils/Makefile.am b/common/utils/Makefile.am
|
|
|
|
index e002586..d1d95ed 100644
|
|
|
|
--- a/common/utils/Makefile.am
|
|
|
|
+++ b/common/utils/Makefile.am
|
|
|
|
@@ -37,5 +37,7 @@ noinst_LTLIBRARIES = libutils.la
|
|
|
|
libutils_la_SOURCES = \
|
|
|
|
utils.c \
|
|
|
|
utils.h
|
|
|
|
+libutils_la_CPPFLAGS = \
|
|
|
|
+ -I$(top_srcdir)/include
|
|
|
|
libutils_la_CFLAGS = \
|
|
|
|
$(WARNINGS_CFLAGS)
|
|
|
|
--
|
|
|
|
2.20.1
|
|
|
|
|