Skip to content

Commit 77e6240

Browse files
committed
FreeBSD: find execinfo library
1 parent 52072e6 commit 77e6240

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/GCStress/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ elseif(NOT CC_TARGET_OS_ANDROID)
4646
endif()
4747

4848
if(CC_TARGET_OS_FREEBSD)
49+
if(CMAKE_BUILD_TYPE STREQUAL Debug)
50+
set(lib_target "${lib_target}"
51+
"-lexecinfo"
52+
)
53+
endif()
4954
set(lib_target "${lib_target}"
5055
"-L/usr/local/lib"
5156
"-lintl"

0 commit comments

Comments
 (0)