From ee57f80147dfeb0a2c2a9724294ff01d20b740d3 Mon Sep 17 00:00:00 2001 From: Erfan Abdi Date: Sun, 8 Sep 2019 15:04:55 +0430 Subject: sdm660-common: Make shim for libcamera.sdm660.so P: GraphicBuffer::lock(uint32_t inUsage, void** vaddr); Q: GraphicBuffer::lock(uint32_t inUsage, void** vaddr, int32_t* outBytesPerPixel, int32_t* outBytesPerStride); Error: cannot locate symbol "_ZN7android13GraphicBuffer4lockEjPPv" referenced by "/vendor/lib/hw/camera.sdm660.so" Change-Id: I1c1fe66f3f73149ced601eae87b970ce392d50ee --- extract-files.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'extract-files.sh') diff --git a/extract-files.sh b/extract-files.sh index 8528cec..c50bac1 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -73,6 +73,7 @@ function blob_fixup() { vendor/lib/hw/camera.sdm660.so) patchelf --replace-needed libMiWatermark.so libMiWatermark_shim.so "${2}" + patchelf --add-needed libcamera_sdm660_shim.so "${2}" ;; esac } -- cgit v1.2.3