Browse Source
Merge pull request #10079 from ryzhovau/libgd_CFLAGS
libgd: avoid using host headers
lilik-openwrt-22.03
Rosen Penev
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
0 deletions
-
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) |
|
|
|
|