diff --git a/lib/mk/gtest.mk b/lib/mk/gtest.mk index 69b682f..9a11101 100644 --- a/lib/mk/gtest.mk +++ b/lib/mk/gtest.mk @@ -11,5 +11,6 @@ INC_DIR += $(GTEST_DIR)/include INC_DIR += $(GTEST_DIR)/include/internal LIBS += libc libm stdcxx +SHARED_LIB = yes CC_CXX_WARN_STRICT = diff --git a/run/gtest-samples.run b/run/gtest-samples.run index e95c4bc..045b8d6 100644 --- a/run/gtest-samples.run +++ b/run/gtest-samples.run @@ -57,7 +57,7 @@ build_boot_image { core init ld.lib.so timer 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 " diff --git a/run/gtest.run b/run/gtest.run index b2cac2c..e7667e0 100644 --- a/run/gtest.run +++ b/run/gtest.run @@ -65,7 +65,7 @@ build_boot_image { core init ld.lib.so timer ram_fs libc.lib.so vfs.lib.so libm.lib.so posix.lib.so stdcxx.lib.so - gtest + gtest.lib.so gtest } append qemu_args " -nographic "