X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/5951d03bc4e55cc541795c60c10ee6be6eec4f23..1f742d4078db9e6ce1b27114c175919076b59061:/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch diff --git a/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch index 5d454b8e0..b59027d7c 100644 --- a/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch +++ b/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch @@ -62,7 +62,7 @@ --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile -@@ -93,6 +93,9 @@ +@@ -93,6 +93,9 @@ check-lxdialog := $(srctree)/$(src)/lxd # we really need to do so. (Do not call gcc as part of make mrproper) HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags) HOST_LOADLIBES = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC)) @@ -92,7 +92,7 @@ #include #include #include -+#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#else +#include "../../../../../tools/sstrip/include/elf.h"