aboutsummaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2013-07-14 12:53:31 +0200
committerSebastian Dröge <slomo@circular-chaos.org>2013-07-14 12:53:31 +0200
commit506fe9d1810310128adfeb65a9cffd014450ac11 (patch)
tree63b597f6602b0587b4efcc97df3d1e005a90a5ed /compile
parentaa9289484c3502e9e3f6df9dda964ffe2510092d (diff)
Imported Upstream version 1.1.2upstream/1.1.2
Diffstat (limited to 'compile')
-rwxr-xr-xcompile10
1 files changed, 7 insertions, 3 deletions
diff --git a/compile b/compile
index 862a14e..531136b 100755
--- a/compile
+++ b/compile
@@ -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-2013 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