Browse Source

fix freetype paths on osx and mingw

Juan Linietsky 9 years ago
parent
commit
65615c0353
2 changed files with 5 additions and 4 deletions
  1. 2 2
      platform/osx/detect.py
  2. 3 2
      platform/windows/detect.py

+ 2 - 2
platform/osx/detect.py

@@ -58,8 +58,8 @@ def configure(env):
 
 
 	if (env["freetype"]!="no"):
 	if (env["freetype"]!="no"):
 		env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
 		env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
-		env.Append(CPPPATH=['#tools/freetype'])
-		env.Append(CPPPATH=['#tools/freetype/freetype/include'])
+		env.Append(CPPPATH=['#drivers/freetype'])
+		env.Append(CPPPATH=['#drivers/freetype/freetype/include'])
 
 
 
 
 
 

+ 3 - 2
platform/windows/detect.py

@@ -352,8 +352,9 @@ def configure(env):
 
 
 		if (env["freetype"]!="no"):
 		if (env["freetype"]!="no"):
 			env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
 			env.Append(CCFLAGS=['-DFREETYPE_ENABLED'])
-			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["CC"]=mingw_prefix+"gcc"
 		env["CC"]=mingw_prefix+"gcc"
 		env['AS']=mingw_prefix+"as"
 		env['AS']=mingw_prefix+"as"