d2x: Make camera blob load with v28 libc++

* It requires __sfp_handle_exceptions

Change-Id: I504c847c8fd9a28fbad519cac781196369e7a3be
This commit is contained in:
Peter Cai
2019-09-21 12:34:37 +08:00
committed by Tim Zimmermann
parent aa3146f71b
commit 279f265f25
2 changed files with 13 additions and 0 deletions

View File

@@ -6,6 +6,14 @@
# SPDX-License-Identifier: Apache-2.0
#
function blob_fixup() {
case "${1}" in
vendor/lib*/libiu456_datapath_processor.so)
"${PATCHELF}" --replace-needed libc++.so libc++-v28.so "${2}"
;;
esac
}
# If we're being sourced by the common script that we called,
# stop right here. No need to go down the rabbit hole.
if [ "${BASH_SOURCE[0]}" != "${0}" ]; then