vfa-kinnd / libjingle

Automatically exported from code.google.com/p/libjingle
0 stars 0 forks source link

OSX build error, ld: unknown option: -rpath #312

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. execute hammer.sh
2. build fails
3.

What is the expected output? What do you see instead?

ld: unknown option: -rpath=/Users/xxx/libjingle-read-only/talk/build/dbg/lib

What version of the product are you using? On what operating system?

libjingle-0.6.13.zip MacOSX 10.6.8

Please provide any additional information below.

Original issue reported on code.google.com by russmitc...@gmail.com on 23 Feb 2012 at 9:33

GoogleCodeExporter commented 9 years ago
Did you follow instructions in the README file exactly?

Original comment by jun...@google.com on 14 Mar 2012 at 2:00

GoogleCodeExporter commented 9 years ago

Original comment by jun...@google.com on 26 Mar 2012 at 6:41

GoogleCodeExporter commented 9 years ago
# Remove default rpath set by Hammer. Hammer sets it to LIB_DIR, which is wrong.
# The rpath is the _run-time_ library search path for the resulting binary, i.e.
# the one used by ld.so at load time. Setting it equal to the path to build
# output on the build machine is nonsense.
mac_env.Replace(
  RPATH = [],
)     

add this in main.scons

Original comment by GongChen...@gmail.com on 6 Apr 2012 at 10:33

GoogleCodeExporter commented 9 years ago
If this is still an issue, please refile in the WebRTC issue tracker.

Original comment by juberti@google.com on 1 Jun 2013 at 4:48