diff --git a/README.md b/README.md index 4632995..f261cc6 100644 --- a/README.md +++ b/README.md @@ -41,4 +41,4 @@ Figure out proper way to deliver per ABI headers. #### [libpng](http://libpng.org/pub/png/libpng.html) -#### [freetype](https://freetype.org) +#### [FreeType](https://freetype.org) diff --git a/freetype/build.gradle.kts b/freetype/build.gradle.kts index 1001fd0..7b34c95 100644 --- a/freetype/build.gradle.kts +++ b/freetype/build.gradle.kts @@ -44,7 +44,8 @@ tasks.prefabPackage { modules { create("freetype") { - static.set(true) + static.set(project.findProperty("libraryType") == "static") + dependencies.set(listOf("z", "//libpng:png16")) } } }