Commit 1858f43d authored by Alexandre Julliard's avatar Alexandre Julliard

configure: Make the import lib name optional in WINE_CONFIG_DLL.

parent b6acca66
......@@ -242,7 +242,7 @@ wine_fn_config_dll ()
ac_dir=dlls/$ac_name
ac_enable=$[2]
ac_flags=$[3]
ac_implib=$[4]
ac_implib=${4:-$ac_name}
ac_file=$ac_dir/lib$ac_implib
ac_deps="tools/widl tools/winebuild tools/winegcc include"
ac_implibflags=""
......
......@@ -386,7 +386,7 @@ sub update_makefiles(@)
$args .= "," if $is_win16 || @flags;
$args .= "enable_win16" if $is_win16;
$args .= ",[" . join(",",@flags) ."]" if @flags;
$args .= ",[$implib]" if $implib;
$args .= ",[$implib]" if $implib && $implib ne $name;
push @lines, "WINE_CONFIG_DLL($name$args)\n";
}
elsif ($rules eq $makerules{"MAKE_PROG_RULES"})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment