| To: | freecwmp@linux-mips.org |
|---|---|
| Subject: | [PATCH] freecwmp: do not include host's /usr/include |
| From: | Jonas Gorski <jonas.gorski@gmail.com> |
| Date: | Fri, 25 May 2012 23:06:44 +0200 |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=65Mk2cGSx9Te8WVje6Xs+TA3i837PZQ9pKgdXhN+S34=; b=x/WtN32qxc78RoBtIjc9JloHJU+cdPMsoiktxkDCoGsQLdIwd1q0kfReOzgMv8yCXx 1iWTbG72Xti5TB98T1lv3hb+/6J4fOXm5zfScrGmZuDiaQC8jSxMCbzM49smY59Ybf9v /+L3NIuRsbp4v7GnNeKyTTkSMP8j/u5AGkm3p7bv7E0YTJwgxbU8c6yJEjSImGuFPQdy CAT74AYPvzMh1qeyZQvfk+fc0nq8sz1WMNorcg7vg9E0pYvDEZAHFUH/vecbFoUemFpE CpqP1Oq9NqsDko3lH3TP7VXeUiQ37w/NEUWw4i5st9DXQLwZBspqtkIu7AzfIm+sD2T+ dwXA== |
| Original-recipient: | rfc822;freecwmp@linux-mips.org |
| Sender: | freecwmp-bounce@linux-mips.org |
Explicitly set the uci include path, else it defaults to /usr/include.
Fixed build failures like:
In file included from /usr/include/ctype.h:27:0,
from /usr/include/getopt.h:35,
from ../src/freecwmp.c:10:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or
directory
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
---
freecwmp/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/freecwmp/Makefile b/freecwmp/Makefile
index 9470ae4..b8b406e 100644
--- a/freecwmp/Makefile
+++ b/freecwmp/Makefile
@@ -47,6 +47,9 @@ endif
TARGET_LDFLAGS += \
-Wl,-rpath-link=$(STAGING_DIR)/usr/lib
+CONFIGURE_ARGS += \
+ --with-uci-include-path=$(STAGING_DIR)/usr/include
+
ifeq ($(CONFIG_FREECWMP_HTTP_ZSTREAM),y)
CONFIGURE_ARGS += \
--enable-http=zstream
--
1.7.10
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Next by Date: | [PATCH] freecwmp: define code as needing GNU features, Jonas Gorski |
|---|---|
| Next by Thread: | [PATCH] freecwmp: define code as needing GNU features, Jonas Gorski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |