File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2
2
if (SEPARATE_DBG )
3
3
# FIXME: http://sourceware.org/bugzilla/show_bug.cgi?id=11822
4
4
set (CMAKE_LDR_PE_HELPER_LINK_EXECUTABLE "<CMAKE_C_COMPILER> <CMAKE_C_LINK_FLAGS> <LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>" )
5
+ set (CMAKE_LDR_PE_HELPER_STANDARD_LIBRARIES_INIT "" )
5
6
set (CMAKE_LDR_PE_HELPER_STANDARD_LIBRARIES "-lgcc" CACHE STRING "Standard C Libraries" )
6
7
endif ()
7
8
@@ -236,8 +237,10 @@ endif()
236
237
add_executable (freeldr_pe ${FREELDR_BASE_SOURCE} )
237
238
add_executable (freeldr_pe_dbg EXCLUDE_FROM_ALL ${FREELDR_BASE_SOURCE} )
238
239
239
- set_property (TARGET freeldr_pe PROPERTY ENABLE_EXPORTS TRUE )
240
- set_property (TARGET freeldr_pe_dbg PROPERTY ENABLE_EXPORTS TRUE )
240
+ set_target_properties (freeldr_pe freeldr_pe_dbg
241
+ PROPERTIES
242
+ ENABLE_EXPORTS TRUE
243
+ DEFINE_SYMBOL "" )
241
244
242
245
if (NOT MSVC AND SEPARATE_DBG )
243
246
set_target_properties (freeldr_pe PROPERTIES LINKER_LANGUAGE LDR_PE_HELPER )
You can’t perform that action at this time.
0 commit comments