comparison auto/make @ 6425:05c894a598ea

Dynamic modules: do not overwrite old modules on install. Just using "cp" is incorrect, as it will overwrite old files possibly used by OS, leading to unexpected effects. Changed to "mv + cp", much like used for the main binary.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 10 Mar 2016 16:50:13 +0300
parents ae41f64f7c9b
children 0d2956dfc4e6
comparison
equal deleted inserted replaced
6424:ae41f64f7c9b 6425:05c894a598ea
607 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_long_regex_cont\1/g" \ 607 | sed -e "s/ *\([^ ][^ ]*\)/$ngx_long_regex_cont\1/g" \
608 -e "s/\//$ngx_regex_dirsep/g"` 608 -e "s/\//$ngx_regex_dirsep/g"`
609 609
610 ngx_obj=$NGX_OBJS$ngx_dirsep$ngx_module$ngx_modext 610 ngx_obj=$NGX_OBJS$ngx_dirsep$ngx_module$ngx_modext
611 611
612 NGX_MODULES="$NGX_MODULES $ngx_obj"
613
614 if [ "$NGX_PLATFORM" = win32 ]; then 612 if [ "$NGX_PLATFORM" = win32 ]; then
615 ngx_module_libs="$CORE_LIBS $ngx_module_libs" 613 ngx_module_libs="$CORE_LIBS $ngx_module_libs"
616 fi 614 fi
617 615
618 ngx_libs= 616 ngx_libs=