aboutsummaryrefslogtreecommitdiffstats
path: root/main/cmake/fix-execinfo.h-detection.patch
blob: 4fdf830cdfb1f2434539a59e573f905336780f60 (plain)
1
2
3
4
5
6
7
8
9
10
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 <execinfo.h>
 #  if !(defined(__LSB_VERSION__) && __LSB_VERSION__ < 41)
 #   define KWSYS_SYSTEMINFORMATION_HAVE_BACKTRACE