Skip to content

Commit

Permalink
Merge pull request #167 from marktwtn/fix-building-with-remote-and-jni
Browse files Browse the repository at this point in the history
fix: fix build error with BUILD_REMOTE and BUILD_JNI enabled
  • Loading branch information
jserv committed Jun 28, 2019
2 parents 695b7eb + d99addb commit 748ab9b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,11 @@ OBJS += \
remote_common.o \
remote_interface.o

WORKER_OBJS := $(addprefix $(OUT)/worker-,$(filter-out remote_interface.o, $(OBJS)))
WORKER_EXCLUDE_OBJS := remote_interface.o
ifeq ("$(BUILD_JNI)", "1")
WORKER_EXCLUDE_OBJS += jni/iri-pearldiver-exlib.o
endif
WORKER_OBJS := $(addprefix $(OUT)/worker-,$(filter-out $(WORKER_EXCLUDE_OBJS), $(OBJS)))
WORKER_CFLAGS := $(filter-out -DENABLE_REMOTE, $(CFLAGS))
endif

Expand Down

0 comments on commit 748ab9b

Please sign in to comment.