From c46cd2811caa2f3bb6f3ddb7680551fcf7eb32ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 20 Sep 2013 13:08:52 +0000 Subject: main/cmake: use system shared libs, and fix build against musl --- main/cmake/fix-execinfo.h-detection.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 main/cmake/fix-execinfo.h-detection.patch (limited to 'main/cmake/fix-execinfo.h-detection.patch') diff --git a/main/cmake/fix-execinfo.h-detection.patch b/main/cmake/fix-execinfo.h-detection.patch new file mode 100644 index 0000000000..4fdf830cdf --- /dev/null +++ b/main/cmake/fix-execinfo.h-detection.patch @@ -0,0 +1,11 @@ +--- cmake-2.8.11.2/Source/kwsys/SystemInformation.cxx ++++ cmake-2.8.11.2/Source/kwsys/SystemInformation.cxx +@@ -130,7 +130,7 @@ + # define KWSYS_SYSTEMINFORMATION_IMPLEMENT_FQDN + # endif + # endif +-# if defined(__GNUC__) ++# if defined(__GNUC__) && defined(__GLIBC__) + # include + # if !(defined(__LSB_VERSION__) && __LSB_VERSION__ < 41) + # define KWSYS_SYSTEMINFORMATION_HAVE_BACKTRACE -- cgit v1.2.3