# HG changeset patch
# User Steve Borho <[email protected]>
# Date 1425660660 21600
# Fri Mar 06 10:51:00 2015 -0600
# Node ID eea4096c1503850d057f8e4c64dfc1c2b5546574
# Parent 23a56c0d1ffa776b72b4b83ac369262bfb614d1e
cmake: -fstack-protector requires libssp on MinGW
diff -r 23a56c0d1ffa -r eea4096c1503 source/CMakeLists.txt
--- a/source/CMakeLists.txt Fri Mar 06 10:49:44 2015 -0600
+++ b/source/CMakeLists.txt Fri Mar 06 10:51:00 2015 -0600
@@ -196,6 +196,9 @@
endif()
if(CC_HAS_STACK_PROTECT)
add_definitions(-fstack-protector)
+ if(MINGW)
+ list(APPEND PLATFORM_LIBS ssp)
+ endif()
endif()
endif(GCC)
endif()
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel