[Mesa-dev] [PATCH] allow Android to use out-of-tree mesa sources

groleo at gmail.com groleo at gmail.com
Wed Jan 16 07:08:39 PST 2013


From: Adrian Marius Negreanu <adrian.m.negreanu at intel.com>

this helps when compiling mesa for Android, but
the mesa sources resides outside of the Android tree.

Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu at intel.com>
---
 src/mapi/mapi/mapi_abi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mapi/mapi/mapi_abi.py b/src/mapi/mapi/mapi_abi.py
index 30ffe7b..7ae8c05 100644
--- a/src/mapi/mapi/mapi_abi.py
+++ b/src/mapi/mapi/mapi_abi.py
@@ -29,7 +29,7 @@
 import sys
 # make it possible to import glapi
 import os
-GLAPI = "./%s/../glapi/gen" % (os.path.dirname(sys.argv[0]))
+GLAPI = "%s/../glapi/gen" % (os.path.dirname(sys.argv[0]))
 sys.path.append(GLAPI)
 
 import re
-- 
1.8.0



More information about the mesa-dev mailing list