Lines Matching defs:link
127 # link time, the size of the command becomes too large for the
316 # Function : link-whole-archives
319 # Usage : $(call link-whole-archives,<libraries>)
326 link-whole-archives = $(if $(strip $1),$(call link-whole-archive-flags,$1))
327 link-whole-archive-flags = -Wl,--whole-archive $(call host-path,$1) -Wl,--no-whole-archive
329 -test-link-whole-archive = \
330 $(call test-expect,,$(call link-whole-archives))\
333 $(call test-expect,$(_start) foo $(_end),$(call link-whole-archives,foo))\
334 $(call test-expect,$(_start) foo bar $(_end),$(call link-whole-archives,foo bar))
702 # at link time building main.exe only requires the first three.
708 # Compute the list of all static and shared libraries required to link a
715 # Returns : List of all library $1 depends at link time.
721 module-get-link-libs = $(strip \
723 $(call -ndk-mod-get-topological-depends,$1,-ndk-mod-link-deps))
725 # Special dependency function used by module-get-link-libs.
727 # - if $1 is the link module, or if it is a static library, then all
730 -ndk-mod-link-deps = \
737 # link command.
739 # $2: list of all static link-time libraries (regular or whole).