提交 7b4ba82d 编写于 作者: L leihuang

feat: build static_library for liteos_m and fix INT32 conflict

Signed-off-by: Nleihuang <leihuang@bestechnic.com>
上级 892f4455
......@@ -70,7 +70,11 @@ libjpeg_source = [
if (defined(ohos_lite)) {
lite_library("libjpeg") {
target_type = "shared_library"
if (ohos_kernel_type == "liteos_m") {
target_type = "static_library"
} else {
target_type = "shared_library"
}
sources = libjpeg_source
public_configs = [ ":libjpeg_config" ]
......
......@@ -213,7 +213,7 @@ typedef short INT16;
#ifndef _BASETSD_H_ /* Microsoft defines it in basetsd.h */
#ifndef _BASETSD_H /* MinGW is slightly different */
#ifndef QGLOBAL_H /* Qt defines it in qglobal.h */
typedef long INT32;
typedef signed int INT32;
#endif
#endif
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册