提交 8c68c96a 编写于 作者: O openharmony_ci 提交者: Gitee

!11 feat: build libfreetype.a for liteos_m

Merge pull request !11 from leifhuang/master
......@@ -61,7 +61,12 @@ freetype_sources = [
]
if (defined(ohos_lite)) {
shared_library("freetype") {
lite_library("freetype") {
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
} else {
target_type = "shared_library"
}
sources = freetype_sources
include_dirs = [ "src\base" ]
public_configs = [ ":freetype_config" ]
......
......@@ -182,7 +182,7 @@ typedef unsigned long ulg;
#endif
/* Diagnostic functions */
#ifdef DEBUG
#ifdef ZLIB_DEBUG
# include <stdio.h>
extern int z_verbose;
extern void z_error OF((char *m));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册