gtest: Make library shared

This commit is contained in:
Alexander Senier
2019-08-15 10:11:24 +02:00
committed by Norman Feske
parent 2dc3acddee
commit 4420531023
3 changed files with 3 additions and 2 deletions

View File

@@ -11,5 +11,6 @@ INC_DIR += $(GTEST_DIR)/include
INC_DIR += $(GTEST_DIR)/include/internal INC_DIR += $(GTEST_DIR)/include/internal
LIBS += libc libm stdcxx LIBS += libc libm stdcxx
SHARED_LIB = yes
CC_CXX_WARN_STRICT = CC_CXX_WARN_STRICT =

View File

@@ -57,7 +57,7 @@ build_boot_image {
core init ld.lib.so core init ld.lib.so
timer timer
libc.lib.so vfs.lib.so libm.lib.so posix.lib.so stdcxx.lib.so libc.lib.so vfs.lib.so libm.lib.so posix.lib.so stdcxx.lib.so
gtest-samples gtest.lib.so gtest-samples
} }
append qemu_args " -nographic " append qemu_args " -nographic "

View File

@@ -65,7 +65,7 @@ build_boot_image {
core init ld.lib.so core init ld.lib.so
timer ram_fs timer ram_fs
libc.lib.so vfs.lib.so libm.lib.so posix.lib.so stdcxx.lib.so libc.lib.so vfs.lib.so libm.lib.so posix.lib.so stdcxx.lib.so
gtest gtest.lib.so gtest
} }
append qemu_args " -nographic " append qemu_args " -nographic "