diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-06-29 11:54:35 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-06-29 14:35:39 -0700 |
| commit | 190644063e7081fe715b01dc8d27daec509b6114 (patch) | |
| tree | 8469eb5bbcea20e1faa6209552fd95cd0820b2f6 /src/rt/rust_kernel.cpp | |
| parent | e130e7b5981d9de4fe5d3c4479356eed88c09ef9 (diff) | |
| download | rust-190644063e7081fe715b01dc8d27daec509b6114.tar.gz rust-190644063e7081fe715b01dc8d27daec509b6114.zip | |
Be more strategic about linking to rust crates
Instead of linking directly to the rust crate, try to figure out the location and name of the library from the file name, then call gcc with appropriate -L, -l flags. This will allow dynamic linking to be more forgiving about where it loads the library from at runtime - currently a stage3 compiler can't run correctly from the stage0 directory. Only tested on Linux. Fingers crossed.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions
