diff options
Diffstat (limited to 'unix/Makefile')
-rw-r--r-- | unix/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unix/Makefile b/unix/Makefile index edc800b633..ba3ecdaa02 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -101,6 +101,11 @@ LDFLAGS_MOD += $(LIBFFI_LDFLAGS_MOD) SRC_MOD += modffi.c endif +ifeq ($(MICROPY_PY_JNI),1) +# Path for 64-bit OpenJDK, should be adjusted for other JDKs +CFLAGS_MOD += -I/usr/lib/jvm/java-7-openjdk-amd64/include -DMICROPY_PY_JNI=1 +SRC_MOD += modjni.c +endif # source files SRC_C = \ |