cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH 0/2] CMake: Fix order-dependent header and library checks

From: Brad King <brad.king_at_kitware.com>
Date: Fri, 7 Nov 2014 09:14:14 -0500

Hi Folks,

The CMake build system for curl was regressed in 7.38 and
further in 7.39 and currently does not work on some OS X
machines and other UNIX systems due to failing to detect
some existing header files and libraries. Compilation
fails with errors like:

 lib/if2ip.c:159: error: storage size of 'req' isn't known

due to not detecting and including <net/if.h>.

Here is a patch series to fix it. See individual commit
messages for details. Basically they revert some recent
changes and add comments explaning why the original code
worked the way it did. Whatever issues caused those changes
will need to be resolved in another way.

Thanks,
Brad

Brad King (2):
  CMake: Restore order-dependent header checks
  CMake: Restore order-dependent library checks

 CMake/Macros.cmake | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

-- 
2.1.1
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-11-07