summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2010-08-12 18:01:18 +0200
committerPeter Rosin <peda@lysator.liu.se>2010-08-12 18:01:18 +0200
commit8c406f64b66aedee8359ddf1383e087faa2ba233 (patch)
tree3d69c454dc09c277f67113318b681c915cc612f0 /tests
parent9533d1f026a1ca8a3f77f64bc710f13cdaa1b410 (diff)
downloadautomake-8c406f64b66aedee8359ddf1383e087faa2ba233.tar.gz
Enable the use of "link -lib" as the wrapped archiver.
* lib/ar-lib: Enable the use of "link -lib" as the wrapped archiver, as well as allowing some other options to be passed through to the wrapped archiver. * tests/ar-lib.test: Test the above. Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ar-lib.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ar-lib.test b/tests/ar-lib.test
index 85f82422f..d418c21ed 100755
--- a/tests/ar-lib.test
+++ b/tests/ar-lib.test
@@ -72,4 +72,8 @@ test x"$opts" = x"lib -NOLOGO -EXTRACT:foo.obj foo.lib"
opts=`./ar-lib ./lib x foo.lib @foolist`
test x"$opts" = x"lib -NOLOGO -EXTRACT:foo.obj foo.lib"
+# Check if ar-lib passes -lib and -LTCG through to the wrappee
+opts=`./ar-lib ./lib -lib -LTCG x foo.lib foo.obj`
+test x"$opts" = x"lib -lib -LTCG -NOLOGO -EXTRACT:foo.obj foo.lib"
+
: