diff options
Diffstat (limited to 'remote/setup_target')
-rwxr-xr-x | remote/setup_target | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/remote/setup_target b/remote/setup_target index 3a0b270d..5da8d0e7 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -459,12 +459,8 @@ post_process_target() { # figure out all relevant ld-paths pinfo "Running ldconfig" - local LDTEMP="$TARGET_BUILD_DIR/ldconf-temp" - grep -h '^\s*/' /etc/ld.so.conf /etc/ld.so.conf.d/* > "$LDTEMP" - # TODO: Echo other stuff to $LDTEMP (but figure out if first or last match wins) - ldconfig -v -r "${TARGET_BUILD_DIR}" -f "/ldconf-temp" - unlink "$LDTEMP" - + cp -r -L /etc/ld.so.conf* "${TARGET_BUILD_DIR}/etc/" + ldconfig -v -r "${TARGET_BUILD_DIR}" } clean_modules() { |