Skip to content

Commit

Permalink
Check compiled OpenJCEPlus native library existence
Browse files Browse the repository at this point in the history
Signed-off-by: Tao Liu <[email protected]>
  • Loading branch information
taoliult committed Sep 9, 2024
1 parent bab255e commit 1106bcc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions closed/make/modules/openjceplus/Lib.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1106bcc

Please sign in to comment.