From 1106bcc5e985b863d47173787a17d0e098aad3c3 Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Mon, 9 Sep 2024 14:22:50 -0400 Subject: [PATCH] Check compiled OpenJCEPlus native library existence Signed-off-by: Tao Liu --- closed/make/modules/openjceplus/Lib.gmk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/closed/make/modules/openjceplus/Lib.gmk b/closed/make/modules/openjceplus/Lib.gmk index 21dedc3bd24..aef913e2115 100644 --- a/closed/make/modules/openjceplus/Lib.gmk +++ b/closed/make/modules/openjceplus/Lib.gmk @@ -64,6 +64,10 @@ compile-libs : JCE_CLASSPATH=$(OPENJCEPLUS_JCE_CLASSPATH) \ PLATFORM=$(OPENJCEPLUS_JGSKIT_PLATFORM) \ && $(MAKE) -j1 -C $(OPENJCEPLUS_JGSKIT_MAKE_PATH) -f $(OPENJCEPLUS_JGSKIT_MAKE) all + @$(ECHO) Checking OpenJCEPlus native library existence + ifeq (,$(filter %.dll %.so %.x, $(call FindFiles, $(OPENJCEPLUS_TOPDIR)/target))) + $(error Complied OpenJCEPlus native library not found) + endif @$(ECHO) OpenJCEplus compile complete TARGETS += compile-libs