non_pic_objects=
precious_files_regex=
prefer_static_libs=no
- preload=no
+ preload=false
prev=
prevarg=
release=
continue
;;
dlfiles|dlprefiles)
- if test no = "$preload"; then
+ $preload || {
# Add the symbol object into the linking commands.
func_append compile_command " @SYMFILE@"
func_append finalize_command " @SYMFILE@"
- preload=yes
- fi
+ preload=:
+ }
case $arg in
*.la | *.lo) ;; # We handle these cases below.
force)
test -n "$release" && \
func_warning "\`-release' is ignored for programs"
- test yes = "$preload" \
+ $preload \
&& test unknown = "$dlopen_support" \
&& test unknown = "$dlopen_self" \
&& test unknown = "$dlopen_self_static" \
build_libtool_libs=no
else
oldobjs="$old_deplibs $non_pic_objects"
- if test yes = "$preload" && test -f "$symfileobj"; then
- func_append oldobjs " $symfileobj"
- fi
+ $preload && test -f "$symfileobj" \
+ && func_append oldobjs " $symfileobj"
fi
addlibs=$old_convenience
fi