summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index deba96413..d5bcbf5a0 100755
--- a/configure
+++ b/configure
@@ -4295,7 +4295,11 @@ _gmake_add_build_target() {
# link target
echo "${target}: ${targetfile}" >> "${xmake_sh_makefile}"
echo "${targetfile}: ${depfiles}${objectfiles}" >> "${xmake_sh_makefile}"
- print "\t@echo linking.${_target_mode} ${targetfile}" >> "${xmake_sh_makefile}"
+ if test_eq "${targetkind}" "static"; then
+ print "\t@echo archiving.${_target_mode} ${targetfile}" >> "${xmake_sh_makefile}"
+ else
+ print "\t@echo linking.${_target_mode} ${targetfile}" >> "${xmake_sh_makefile}"
+ fi
case "${toolname}" in
gcc) _gmake_add_build_target_for_gcc_clang "${toolkind}" "${targetfile}" "${objectfiles}" "${flagname}";;
gxx) _gmake_add_build_target_for_gcc_clang "${toolkind}" "${targetfile}" "${objectfiles}" "${flagname}";;