mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
cmake: -Wl linking flags
This commit is contained in:
parent
c282775205
commit
11dfcf3bdb
@ -299,7 +299,7 @@ if(ENABLE_FFMPEG)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(ENABLE_MEM_DEBUG)
|
if(ENABLE_MEM_DEBUG)
|
||||||
list(APPEND COMPILE_OPTIONS_DEFAULT
|
update_cached_list(MK_LINK_LIBRARIES
|
||||||
"-Wl,-wrap,free;-Wl,-wrap,malloc;-Wl,-wrap,realloc;-Wl,-wrap,calloc")
|
"-Wl,-wrap,free;-Wl,-wrap,malloc;-Wl,-wrap,realloc;-Wl,-wrap,calloc")
|
||||||
update_cached_list(MK_COMPILE_DEFINITIONS ENABLE_MEM_DEBUG)
|
update_cached_list(MK_COMPILE_DEFINITIONS ENABLE_MEM_DEBUG)
|
||||||
message(STATUS "已启用内存调试功能")
|
message(STATUS "已启用内存调试功能")
|
||||||
|
Loading…
Reference in New Issue
Block a user