From 7a17805b6df2877cd30c9fdff79637ef13bbcd56 Mon Sep 17 00:00:00 2001 From: Alexander Ryzhov Date: Thu, 26 Sep 2019 13:39:53 +0300 Subject: [PATCH] ibgd: avoid using host headers Signed-off-by: Alexander Ryzhov --- libs/libgd/patches/220-exclude_host_headers.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/libgd/patches/220-exclude_host_headers.patch diff --git a/libs/libgd/patches/220-exclude_host_headers.patch b/libs/libgd/patches/220-exclude_host_headers.patch new file mode 100644 index 000000000..a1571ddaa --- /dev/null +++ b/libs/libgd/patches/220-exclude_host_headers.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -89,8 +89,6 @@ + GV_LT(VERSION GDLIB_LIB_VERSION) + MESSAGE(STATUS "gd shared lib version ${GDLIB_LIB_SOVERSION} (${GDLIB_LIB_VERSION})") + +- SET(CMAKE_REQUIRED_INCLUDES "/usr/include" "/usr/local/include") +- + include(CheckIncludeFiles) + include(CheckIncludeFile) +