|
|
|
@ -1126,9 +1126,9 @@ macro( tde_add_library _arg_target )
|
|
|
|
|
# set embedded archives
|
|
|
|
|
if( _embed )
|
|
|
|
|
if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )
|
|
|
|
|
list( INSERT _link 0 -Wl,-zallextract ${_embed} -Wl,-zdefaultextract )
|
|
|
|
|
list( INSERT _link_private 0 -Wl,-zallextract ${_embed} -Wl,-zdefaultextract )
|
|
|
|
|
else( )
|
|
|
|
|
list( INSERT _link 0 -Wl,-whole-archive ${_embed} -Wl,-no-whole-archive )
|
|
|
|
|
list( INSERT _link_private 0 -Wl,-whole-archive ${_embed} -Wl,-no-whole-archive )
|
|
|
|
|
endif( )
|
|
|
|
|
endif( _embed )
|
|
|
|
|
|
|
|
|
@ -1138,9 +1138,9 @@ macro( tde_add_library _arg_target )
|
|
|
|
|
if( _link )
|
|
|
|
|
list( INSERT _link 0 "PUBLIC" )
|
|
|
|
|
endif()
|
|
|
|
|
list( APPEND _link "PRIVATE" )
|
|
|
|
|
list( INSERT _link_private 0 "PRIVATE" )
|
|
|
|
|
endif()
|
|
|
|
|
list( APPEND _link ${_link_private} )
|
|
|
|
|
list( INSERT _link 0 ${_link_private} )
|
|
|
|
|
endif( _link_private )
|
|
|
|
|
|
|
|
|
|
# set link libraries
|
|
|
|
|