diff --git a/libshims/Android.mk b/libshims/Android.mk index f7b1c90..f4f3482 100644 --- a/libshims/Android.mk +++ b/libshims/Android.mk @@ -1,4 +1,5 @@ # Copyright (C) 2016 The CyanogenMod Project +# 2017-2018 The LineageOS Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,10 +22,9 @@ LOCAL_SRC_FILES := \ bionic/pthread_cond.cpp LOCAL_SHARED_LIBRARIES := libc - LOCAL_MODULE := libshims_camera LOCAL_MODULE_TAGS := optional - LOCAL_32_BIT_ONLY := true +LOCAL_PROPRIETARY_MODULE := true include $(BUILD_SHARED_LIBRARY) diff --git a/rootdir/init.device.rc b/rootdir/init.device.rc index 0607c32..a0f8ef4 100644 --- a/rootdir/init.device.rc +++ b/rootdir/init.device.rc @@ -26,4 +26,4 @@ # on init - export LD_SHIM_LIBS "/vendor/bin/mm-qcamera-daemon|libshims_camera.so" + export LD_SHIM_LIBS "/vendor/bin/mm-qcamera-daemon|vendor/lib/libshims_camera.so"