Browse Source

ibgd: avoid using host headers

Signed-off-by: Alexander Ryzhov <github@ryzhov-al.ru>
lilik-openwrt-22.03
Alexander Ryzhov 5 years ago
parent
commit
7a17805b6d
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      libs/libgd/patches/220-exclude_host_headers.patch

+ 11
- 0
libs/libgd/patches/220-exclude_host_headers.patch View File

@ -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)

Loading…
Cancel
Save