diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-04-26 14:06:32 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-04-26 14:06:32 +0200 |
commit | cdd3e76d21ae5aedbaac7e04eea47290d916db04 (patch) | |
tree | dd1d3d6b0fd495863278209600eec960f4978746 /compile | |
parent | 7d29d7d0f6c2586fc87f26f1f975db9319ad3e12 (diff) |
Imported Upstream version 1.0.7
Diffstat (limited to 'compile')
-rwxr-xr-x | compile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1,10 +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, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free -# Software Foundation, Inc. +# Copyright (C) 1999-2012 Free Software Foundation, Inc. # Written by Tom Tromey <tromey@cygnus.com>. # # This program is free software; you can redistribute it and/or modify @@ -113,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 |