Masakazu Kitajo created TS-2839:
-----------------------------------
Summary: tsxs doesn't work on OSX
Key: TS-2839
URL: https://issues.apache.org/jira/browse/TS-2839
Project: Traffic Server
Issue Type: Bug
Reporter: Masakazu Kitajo
When I specify -L option to tsxs on OS X, I get these error messages below.
{noformat}
$ tsxs -L/somewhere/lib -o test.cc 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
{noformat}
It seems that two dashes and a equal sign for rpath are not supported on llvm's
ld.
--
This message was sent by Atlassian JIRA
(v6.2#6252)