diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2014-02-16 10:07:15 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2014-02-16 10:07:15 -0800 |
commit | 86389d10801bce4bff457f602f1cb686df513dfb (patch) | |
tree | 9fab5797fb5f8979cabe610acb5eb3624d449621 /hardware.c | |
parent | f77bd7d005e27364e233c92ac7f6c06a18d1f128 (diff) | |
download | hardware_libhardware-86389d10801bce4bff457f602f1cb686df513dfb.tar.gz hardware_libhardware-86389d10801bce4bff457f602f1cb686df513dfb.tar.bz2 hardware_libhardware-86389d10801bce4bff457f602f1cb686df513dfb.zip |
Use /(vendor|system)/lib64/hw for 64-bit HAL libraries
Change-Id: Ib905e079b1e88977fb3408671301904c58f35d3c
Diffstat (limited to 'hardware.c')
-rw-r--r-- | hardware.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -28,8 +28,13 @@ #include <utils/Log.h> /** Base path of the hal modules */ +#if defined(__LP64__) +#define HAL_LIBRARY_PATH1 "/system/lib64/hw" +#define HAL_LIBRARY_PATH2 "/vendor/lib64/hw" +#else #define HAL_LIBRARY_PATH1 "/system/lib/hw" #define HAL_LIBRARY_PATH2 "/vendor/lib/hw" +#endif /** * There are a set of variant filename for modules. The form of the filename |