vendor/FreeType2/build.lua: build a static lib.
This commit is contained in:
parent
2f39299fc6
commit
c2c201c9e4
2 changed files with 10 additions and 8 deletions
|
|
@ -183,7 +183,7 @@ local obj = Compile(settings, {
|
||||||
libspectre = StaticLibrary(settings,
|
libspectre = StaticLibrary(settings,
|
||||||
"spectre",
|
"spectre",
|
||||||
obj,
|
obj,
|
||||||
ft2_obj
|
libfreetype
|
||||||
)
|
)
|
||||||
|
|
||||||
-- Export settings
|
-- Export settings
|
||||||
|
|
|
||||||
16
vendor/FreeType2/build.lua
vendored
16
vendor/FreeType2/build.lua
vendored
|
|
@ -1,8 +1,10 @@
|
||||||
--------------------------------
|
-----------------------------------------------------------
|
||||||
-- --
|
-- --
|
||||||
-- FreeType2 build config --
|
-- FreeType2 build config --
|
||||||
-- --
|
-- --
|
||||||
--------------------------------
|
-- Output variables: --
|
||||||
|
-- libfreetype = path to .lib file --
|
||||||
|
-----------------------------------------------------------
|
||||||
|
|
||||||
-- Modules
|
-- Modules
|
||||||
--------------------------------
|
--------------------------------
|
||||||
|
|
@ -52,5 +54,5 @@ for k,name in pairs(ft_modules) do
|
||||||
PseudoTarget("ft2_" .. name, obj[name])
|
PseudoTarget("ft2_" .. name, obj[name])
|
||||||
end
|
end
|
||||||
|
|
||||||
ft2_obj = TableFlatten(obj)
|
libfreetype = StaticLibrary(settings, "freetype", obj)
|
||||||
PseudoTarget("ft2", ft2_obj)
|
PseudoTarget("ft2", libfreetype)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue