makefiles: Also use dll flags when building a shared library.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2016-02-23 13:01:53 +09:00
parent b99c35c0e8
commit 624c344e90

View File

@ -2386,7 +2386,7 @@ static struct strarray output_sources( const struct makefile *make )
output_filenames( includes );
output_filenames( make->define_args );
output_filenames( extradefs );
if (make->module || make->staticlib || make->testdll)
if (make->module || make->staticlib || make->sharedlib || make->testdll)
{
output_filenames( dll_flags );
if (make->use_msvcrt) output_filenames( msvcrt_flags );