OSDN Git Service
(root)
/
android-x86
/
hardware-ril.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1d6bf5d
)
Merge "Link to the corresponding libril-reference.so on 64 bit platform"
author
Elliott Hughes
<enh@google.com>
Wed, 23 Jul 2014 02:31:12 +0000
(
02:31
+0000)
committer
Gerrit Code Review
<noreply-gerritcodereview@google.com>
Tue, 22 Jul 2014 16:25:43 +0000
(16:25 +0000)
rild/rild.c
patch
|
blob
|
history
diff --git
a/rild/rild.c
b/rild/rild.c
index
3444b6c
..
4501dac
100644
(file)
--- a/
rild/rild.c
+++ b/
rild/rild.c
@@
-151,7
+151,12
@@
int main(int argc, char **argv)
static char arg_device[32];
int done = 0;
+#if __LP64__
+#define REFERENCE_RIL_PATH "/system/lib64/libreference-ril.so"
+#else
#define REFERENCE_RIL_PATH "/system/lib/libreference-ril.so"
+#endif
+
/* first, read /proc/cmdline into memory */
char buffer[1024], *p, *q;