Description
When I specify -L option to tsxs on OS X, I get these error messages below.
$ tsxs -L/somewhere/lib -o test.so test.cc compiling test.cc -> test.lo linking -> test.so ld: warning: directory not found for option '-L/somewhere/lib' ld: unknown option: --rpath=/somewhere/lib clang: error: linker command failed with exit code 1 (use -v to see invocation) tsxs: link failed: cc -bundle -flat_namespace -undefined suppress -L/somewhere/lib -Wl,--rpath=/somewhere/lib -o test.so test.lo
It seems that two dashes and a equal sign for rpath are not supported on OS X's ld.