aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew F. Davis2018-09-12 18:07:24 -0500
committerAndrew F. Davis2018-09-12 18:07:24 -0500
commitb8db2bdf7c8e027a5f628fd9b86d5951983f9da7 (patch)
tree5475b5c51be35107f805c313983d6e6bb86f6e7a
parente84ee704d09d3b37fcb3df4973cb8fd35d33d950 (diff)
downloadexternal-libgbm-b8db2bdf7c8e027a5f628fd9b86d5951983f9da7.tar.gz
external-libgbm-b8db2bdf7c8e027a5f628fd9b86d5951983f9da7.tar.xz
external-libgbm-b8db2bdf7c8e027a5f628fd9b86d5951983f9da7.zip
Use 64-bit library path when built as a 64-bit module
Signed-off-by: Andrew F. Davis <afd@ti.com>
-rw-r--r--backend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend.c b/backend.c
index cdaab68a..707a8402 100644
--- a/backend.c
+++ b/backend.c
@@ -37,7 +37,11 @@
37 37
38#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0])) 38#define ARRAY_SIZE(a) (sizeof(a)/sizeof((a)[0]))
39 39
40#if defined(__LP64__)
41#define MODULEDIR "/vendor/lib64"
42#else
40#define MODULEDIR "/vendor/lib" 43#define MODULEDIR "/vendor/lib"
44#endif
41 45
42/* a more clever scheme would be to discover backends in a certain 46/* a more clever scheme would be to discover backends in a certain
43 * directory.. 47 * directory..