mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 03:41:29 +00:00
Merge pull request #10079 from ryzhovau/libgd_CFLAGS
libgd: avoid using host headers
This commit is contained in:
11
libs/libgd/patches/220-exclude_host_headers.patch
Normal file
11
libs/libgd/patches/220-exclude_host_headers.patch
Normal 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)
|
||||
|
||||
Reference in New Issue
Block a user