Change the Windows building scripts to enable DSO_WIN32.
[openssl.git] / util / pl / BC-32.pl
index df6e2c742e437f4ed08b83f4356d44bb824f282f..20cb3a9c506bc7f375d30c7c12aeb166cedc46fc 100644 (file)
@@ -19,7 +19,7 @@ $out_def="out32";
 $tmp_def="tmp32";
 $inc_def="inc32";
 #enable max error messages, disable most common warnings
-$cflags="-DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl  -c -tWC -tWM -DWINDOWS -DWIN32 -DL_ENDIAN ";
+$cflags="-DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl  -c -tWC -tWM -DWINDOWS -DWIN32 -DL_ENDIAN -DDSO_WIN32 ";
 if ($debug)
 {
     $cflags.="-Od -y -v -vi- -D_DEBUG";
@@ -109,7 +109,7 @@ sub do_lib_rule
                {
                #               $ret.="\t\$(RM) \$(O_$Name)\n";
                $ret.="\techo LIB $<\n";    
-               $ret.="\t\$(MKLIB) $lfile$target  \$(addprefix +, $objs)\n";
+                $ret.="\t&\$(MKLIB) $lfile$target -+\$**\n";
                }
        else
                {