From: Adrian Marius Negreanu <[email protected]>

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

Signed-off-by: Adrian Marius Negreanu <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to