forked from weaselab/conflict-set
objcopy doesn't support --keep-global-symbols for wasm
This commit is contained in:
+3
-1
@@ -99,7 +99,9 @@ if(NOT CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
set_target_properties(${PROJECT_NAME}-static PROPERTIES LINKER_LANGUAGE C)
|
||||
endif()
|
||||
|
||||
if(NOT APPLE AND CMAKE_OBJCOPY)
|
||||
if(NOT EMSCRIPTEN
|
||||
AND NOT APPLE
|
||||
AND CMAKE_OBJCOPY)
|
||||
add_custom_command(
|
||||
TARGET conflict-set-static
|
||||
POST_BUILD
|
||||
|
||||
Reference in New Issue
Block a user