From 86389d10801bce4bff457f602f1cb686df513dfb Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Sun, 16 Feb 2014 10:07:15 -0800 Subject: Use /(vendor|system)/lib64/hw for 64-bit HAL libraries Change-Id: Ib905e079b1e88977fb3408671301904c58f35d3c --- hardware.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hardware.c') diff --git a/hardware.c b/hardware.c index f835fda..6713ea0 100644 --- a/hardware.c +++ b/hardware.c @@ -28,8 +28,13 @@ #include /** 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 -- cgit v1.1