Changeset 249 in Main for trunk/bcc.sh


Ignore:
Timestamp:
Oct 4, 2024, 5:59:55 AM (6 weeks ago)
Author:
Nishi
Message:

fix vc6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bcc.sh

    r240 r249  
    2929                options="$options -tWD"
    3030                shared=1
     31        elif [ "$i" = "-mwindows" ]; then
     32                options="$options -tW"
    3133        elif [ "`echo "$i" | grep -Eo "^-D"`" = "-D" ]; then
    3234                options="$options -`echo "$i" | sed "s/^-//g"`"
    3335        elif [ "`echo "$i" | grep -Eo "^-l"`" = "-l" ]; then
    34                 if [ ! "$i" = "-lwsock32" ]; then
     36                if [ ! "$i" = "-lwsock32" -a ! "$i" = "-luser32" -a ! "$i" = "-lcomctl32" ]; then
    3537                        libraries="$libraries `echo "$i" | sed "s/^-l//g"`.lib"
    3638                fi
Note: See TracChangeset for help on using the changeset viewer.