diff options
author | Andrew Shadura <andrew.shadura@collabora.co.uk> | 2016-09-20 10:53:53 +0200 |
---|---|---|
committer | Andrew Shadura <andrew.shadura@collabora.co.uk> | 2016-09-20 10:53:53 +0200 |
commit | 45aaf5ce2b9346cf69960a16b79a2ff9c437abfb (patch) | |
tree | d9031ef624c296bcefdb64f1f85d2ab6199d12ee /compile | |
parent | f4f1836a959667709d73ae5a67283d99759bf7ee (diff) |
Imported Upstream version 3.8.2+20160226+ea7138c
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-2014 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 |