remove some extra lines, question marks, and add another rpath

This commit is contained in:
Cody P Schafer
2014-12-02 23:07:17 -05:00
parent ab0eafea8d
commit 8cc784c414
3 changed files with 9 additions and 6 deletions
+5
View File
@@ -12,6 +12,11 @@ PN = "rust-cross-${TARGET_ARCH}"
# here because cross.bblcass is "helpful" and blanks it out.
#TARGET_PRE_LINK_ARGS_append = " --sysroot=${STAGING_DIR_TARGET}"
# FIXME: the only way to convince cargo to include the rpath is via editing
# Config.toml, and doing that safely requires us to write actual patches
HOST_PRE_LINK_ARGS_append = " -Wl,-rpath=${libdir}"
BUILD_PRE_LINK_ARGS_append = " -Wl,-rpath=${libdir}"
# We need the same thing for the calls to the compiler when building the runtime crap
TARGET_CC_ARCH_append = " --sysroot=${STAGING_DIR_TARGET}"