For static libs (.a) we need to pass the actual filename to winebuild,
commit006ec80dd5c1a8ec98ddace5bfe9f214018386b8
authorDimitrie O. Paun <dpaun@rogers.com>
Thu, 26 Feb 2004 05:28:35 +0000 (26 05:28 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 26 Feb 2004 05:28:35 +0000 (26 05:28 +0000)
tree44ab549a1777fd008a784bb51bcc7ceecb29a9c7
parent65130e8a5d7860395cb115d065424f84449964ed
For static libs (.a) we need to pass the actual filename to winebuild,
not a -l switch. Do not remove the file extension to get to the base
name if it's not .exe or .exe.so. Link shell32 by default for GUI
programs. Fix parsing of options with arguments.
tools/winegcc/utils.c
tools/winegcc/utils.h
tools/winegcc/winegcc.c