Change libpath of freetype on windows

* Make libpath of freetype libraries consistent with sdl2 libpath (/lib/arch)
* Remove trailing whitespaces in freetype.lua
This commit is contained in:
msiglreith 2015-06-16 14:12:55 +02:00 committed by oy
parent afb0a69264
commit 26ab35dab1

View file

@ -29,9 +29,9 @@ FreeType = {
elseif option.use_winlib > 0 then elseif option.use_winlib > 0 then
settings.cc.includes:Add(FreeType.basepath .. "/include") settings.cc.includes:Add(FreeType.basepath .. "/include")
if option.use_winlib == 32 then if option.use_winlib == 32 then
settings.link.libpath:Add(FreeType.basepath .. "/lib32") settings.link.libpath:Add(FreeType.basepath .. "/lib/x86")
else else
settings.link.libpath:Add(FreeType.basepath .. "/lib64") settings.link.libpath:Add(FreeType.basepath .. "/lib/x64")
end end
settings.link.libs:Add("freetype") settings.link.libs:Add("freetype")
end end