diff options
Diffstat (limited to 'remote/setup_target')
| -rwxr-xr-x | remote/setup_target | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/remote/setup_target b/remote/setup_target index 4ea1cbc2..54ed0cb0 100755 --- a/remote/setup_target +++ b/remote/setup_target @@ -314,6 +314,13 @@ post_process_target() { rm -r "${TARGET_BUILD_DIR}/lib/systemd" fi + # figure out all relevant ld-paths + 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" + } clean_modules() { |
