Closed
Description
I get this error:
...
maketest: c-static-dylib
----- /Users/davidrenshaw/Code/rust/src/test/run-make/c-static-dylib/ --------------------
------ stdout ---------------------------------------------
gcc -Wall -Werror -g -fPIC -m64 -arch x86_64 -L /Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib -c -o /Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib/libcfoo.o cfoo.c
------ stderr ---------------------------------------------
clang: error: argument unused during compilation: '-L/Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib'
make[1]: *** [/Users/davidrenshaw/Code/rust/x86_64-apple-darwin/test/run-make/c-static-dylib/libcfoo.o] Error 1
This patch seems to fix the problem for me: dwrensha@1693b81