mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
|
From 0ebf52fc951b2a4d98a166afb34af4f364bbeece Mon Sep 17 00:00:00 2001
|
||
|
From: Ben Brown <ben@demerara.io>
|
||
|
Date: Wed, 25 May 2022 16:26:13 +0100
|
||
|
Subject: build: Fix error during out of tree build
|
||
|
|
||
|
Fixes the following error:
|
||
|
|
||
|
../../libxtables/xtables.c:52:10: fatal error: libiptc/linux_list.h: No such file or directory
|
||
|
52 | #include <libiptc/linux_list.h>
|
||
|
|
||
|
Fixes: f58b0d7406451 ("libxtables: Implement notargets hash table")
|
||
|
Signed-off-by: Ben Brown <ben@demerara.io>
|
||
|
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||
|
---
|
||
|
libxtables/Makefile.am | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/libxtables/Makefile.am
|
||
|
+++ b/libxtables/Makefile.am
|
||
|
@@ -1,7 +1,7 @@
|
||
|
# -*- Makefile -*-
|
||
|
|
||
|
AM_CFLAGS = ${regular_CFLAGS}
|
||
|
-AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables ${kinclude_CPPFLAGS}
|
||
|
+AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include -I${top_srcdir}/iptables -I${top_srcdir} ${kinclude_CPPFLAGS}
|
||
|
|
||
|
lib_LTLIBRARIES = libxtables.la
|
||
|
libxtables_la_SOURCES = xtables.c xtoptions.c getethertype.c
|