/usr/local/include is probably not needed and it's unsafe for
cross-compilation.
Signed-off-by: Romain Naour
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index a9ad5b9..0109e5d 100644
--- a/Makefile.am
+++ b/Makefi
/usr/local/include is probably not needed and it's unsafe for
cross-compilation.
Signed-off-by: Romain Naour
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index a9ad5b9..0109e5d 100644
--- a/Makefile.am
+++ b/Makefi
Hi,
Le 29/12/2014 22:35, Romain Naour a écrit :
> /usr/local/include is probably not needed and it's unsafe for
> cross-compilation.
>
> Signed-off-by: Romain Naour
> ---
> Makefile.am | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff -
y when headers paths are passed on the command line.
For example, on my Fedora host the /usr/local/include is an empty directory,
It's not needed to force to use this path in the CFLAGS even for a native build.
Or consider using pkg-config to search for headers and libraries (ncurses a
headers is the purpose of configure script, and if user use a
custom/local path then let it define these in CFLAGS.
This is what we do when tmux is cross-compiled in Buildroot.
See an example here:
http://pastebin.com/T6Ng5Bn8
Which dependencies of tmux are assumed to be in /usr/local ?