[PATCH] Fix header include for out of tree builds

Anton Lundin <[email protected]>
Newsgroups gmane.linux.lvm.devel
Message-ID <[email protected]>
The relative include didn't match up for out of tree builds. The
build tree include directory is in the include paths already.

Signed-off-by: Anton Lundin <[email protected]>
---

Now the following works:
$ mkdir lvm2-build
$ cd lvm2-build
$ ../lvm2/configure
$ make

Please keep me on Cc on any related discussions because I'm not
subscribed to the mailinglist.

 lib/commands/cmd_enum.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/commands/cmd_enum.h b/lib/commands/cmd_enum.h
index 9e9902224..9d0937a50 100644
--- a/lib/commands/cmd_enum.h
+++ b/lib/commands/cmd_enum.h
@@ -12,7 +12,7 @@
 
 enum {
 #define cmd(a, b) a ,
-#include "../../include/cmds.h"
+#include "cmds.h"
 #undef cmd
 };
 
-- 
2.30.2

--
lvm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/lvm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.