summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2024-01-18 14:28:36 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2024-01-18 14:28:36 +0000
commit6359ef95937cddbc1b0ec3008a0d9a1dd55a0b32 (patch)
tree0750262fa07822297c1cbc3dec46ce4240faa873
parent4704a4a26948f1127c66c03c94e7752ee52805c6 (diff)
downloadrspamd-6359ef95937cddbc1b0ec3008a0d9a1dd55a0b32.tar.gz
rspamd-6359ef95937cddbc1b0ec3008a0d9a1dd55a0b32.zip
[Minor] Fix OSX build with backwards
Issue: #4752
-rw-r--r--contrib/backward-cpp/BackwardConfig.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/backward-cpp/BackwardConfig.cmake b/contrib/backward-cpp/BackwardConfig.cmake
index e04e3facb..4cec0be91 100644
--- a/contrib/backward-cpp/BackwardConfig.cmake
+++ b/contrib/backward-cpp/BackwardConfig.cmake
@@ -139,7 +139,9 @@ if (${STACK_DETAILS_AUTO_DETECT})
# If we attempt to link against static bfd, make sure to link its dependencies, too
get_filename_component(bfd_lib_ext "${LIBBFD_LIBRARY}" EXT)
if (bfd_lib_ext STREQUAL "${CMAKE_STATIC_LIBRARY_SUFFIX}")
- list(APPEND _BACKWARD_LIBRARIES iberty z)
+ if (NOT APPLE)
+ list(APPEND _BACKWARD_LIBRARIES iberty z)
+ endif()
endif()
set(STACK_DETAILS_DW FALSE)