Skip to content

Commit

Permalink
link with static libssp
Browse files Browse the repository at this point in the history
  • Loading branch information
slyshykO committed May 19, 2020
1 parent f14e304 commit 3d34ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ include(CheckLibraryExists)

CHECK_LIBRARY_EXISTS(ssp __stack_chk_fail "" _stack_chk_fail_exists)
if (_stack_chk_fail_exists)
set(SSP_LIB ssp)
set(SSP_LIB -static ssp)
else ()
set(SSP_LIB "")
endif ()
Expand Down

0 comments on commit 3d34ea5

Please sign in to comment.