diff options
Diffstat (limited to 'platform/x11/detect.py')
-rw-r--r-- | platform/x11/detect.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/platform/x11/detect.py b/platform/x11/detect.py index 6b147db130..5a43bf9323 100644 --- a/platform/x11/detect.py +++ b/platform/x11/detect.py @@ -1,12 +1,12 @@ import os -import sys +import sys import platform def is_active(): return True - + def get_name(): return "X11" @@ -20,11 +20,11 @@ def can_build(): return False # no x11 on mac for now errorval=os.system("pkg-config --version > /dev/null") - + if (errorval): print("pkg-config not found.. x11 disabled.") return False - + x11_error=os.system("pkg-config x11 --modversion > /dev/null ") if (x11_error): print("X11 not found.. x11 disabled.") @@ -39,7 +39,7 @@ def can_build(): if (x11_error): print("xcursor not found.. x11 disabled.") return False - + x11_error=os.system("pkg-config xinerama --modversion > /dev/null ") if (x11_error): print("xinerama not found.. x11 disabled.") @@ -47,7 +47,7 @@ def can_build(): return True # X11 enabled - + def get_opts(): return [ @@ -60,7 +60,7 @@ def get_opts(): ('new_wm_api', 'Use experimental window management API','no'), ('debug_release', 'Add debug symbols to release version','no'), ] - + def get_flags(): return [ @@ -68,7 +68,7 @@ def get_flags(): ("openssl", "yes"), #("theora","no"), ] - + def configure(env): @@ -143,8 +143,8 @@ def configure(env): if (env["freetype"]!="no"): env.Append(CCFLAGS=['-DFREETYPE_ENABLED']) if (env["freetype"]=="builtin"): - env.Append(CPPPATH=['#tools/freetype']) - env.Append(CPPPATH=['#tools/freetype/freetype/include']) + env.Append(CPPPATH=['#drivers/freetype']) + env.Append(CPPPATH=['#drivers/freetype/freetype/include']) env.Append(CPPFLAGS=['-DOPENGL_ENABLED','-DGLEW_ENABLED']) |