Correct strip command.
Strip should only apply to the output target library. Symlinks with .so endings which will be relocated during install will cause strip to fail, aborting the build. Change-Id: Ieb598c2cec5277d9d14c8afa88b91ca2c7f4412d
Este cometimento está contido em:
1 ascendente
6c3acda664
cometimento
851ee799c4
3 ficheiros modificados
+3
-3
Não existem ficheiros que correspondam à sua pesquisa
@@ -232,7 +232,7 @@ target_link_libraries (
|
||||
|
||||
## If the build is Release, strip the target library
|
||||
if ( "${CMAKE_BUILD_TYPE}" STREQUAL Release )
|
||||
add_custom_command ( TARGET ${TOOLS_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} *.so )
|
||||
add_custom_command ( TARGET ${TOOLS_TARGET} POST_BUILD COMMAND ${CMAKE_STRIP} $<TARGET_FILE_NAME:${TOOLS_TARGET}> )
|
||||
endif ()
|
||||
|
||||
## Create symlinks for legacy packaging and install
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador