1
0
Fork 0

vendor/FreeType2/build.lua: build a static lib.

This commit is contained in:
Henrik Hautakoski 2022-09-12 19:41:36 +02:00
parent 2f39299fc6
commit c2c201c9e4
2 changed files with 10 additions and 8 deletions

View file

@ -183,7 +183,7 @@ local obj = Compile(settings, {
libspectre = StaticLibrary(settings,
"spectre",
obj,
ft2_obj
libfreetype
)
-- Export settings

View file

@ -1,8 +1,10 @@
--------------------------------
-- --
-- FreeType2 build config --
-- --
--------------------------------
-----------------------------------------------------------
-- --
-- FreeType2 build config --
-- --
-- Output variables: --
-- libfreetype = path to .lib file --
-----------------------------------------------------------
-- Modules
--------------------------------
@ -52,5 +54,5 @@ for k,name in pairs(ft_modules) do
PseudoTarget("ft2_" .. name, obj[name])
end
ft2_obj = TableFlatten(obj)
PseudoTarget("ft2", ft2_obj)
libfreetype = StaticLibrary(settings, "freetype", obj)
PseudoTarget("ft2", libfreetype)