X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=lib%2Fcompile;h=531136b068ef00e23d38429e6ee9a57d581a0870;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=7b4a9a7e1e2ecf810712c178220d922df95f6898;hpb=db1138c5e74d4f5b4713bf29127cb1430c5fc32e;p=platform%2Fupstream%2Fautomake.git diff --git a/lib/compile b/lib/compile index 7b4a9a7..531136b 100755 --- a/lib/compile +++ b/lib/compile @@ -1,9 +1,9 @@ #! /bin/sh # Wrapper for compilers which do not understand '-c -o'. -scriptversion=2012-03-05.13; # UTC +scriptversion=2012-10-14.11; # UTC -# Copyright (C) 1999-2012 Free Software Foundation, Inc. +# Copyright (C) 1999-2013 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify @@ -112,6 +112,11 @@ func_cl_dashl () lib=$dir/$lib.lib break fi + if test -f "$dir/lib$lib.a"; then + found=yes + lib=$dir/lib$lib.a + break + fi done IFS=$save_IFS