diff --git a/libr/bin/Makefile b/libr/bin/Makefile index 3a7b89ef2f..526cb41e53 100644 --- a/libr/bin/Makefile +++ b/libr/bin/Makefile @@ -18,5 +18,6 @@ STATIC_OBJS=$(addprefix $(LTOP)/bin/p/, $(STATIC_OBJ)) OBJS=bin.o dbginfo.o bin_write.o demangle.o dwarf.o OBJS+=mangling/cxx/cp-demangle.o ${STATIC_OBJS} OBJS+=mangling/objc.o mangling/cxx.o +LDFLAGS+=$(SHLR)/java/libr_java.a include $(TOP)/libr/rules.mk diff --git a/libr/bin/p/java.mk b/libr/bin/p/java.mk index 70bce3f176..6858b39e94 100644 --- a/libr/bin/p/java.mk +++ b/libr/bin/p/java.mk @@ -1,9 +1,5 @@ OBJ_JAVA=bin_java.o -#../format/java/java.o -#SHARED_JAVA=../../shlr/java/class.o -#SHARED_JAVA+=../../shlr/java/code.o -#SHARED_JAVA+=../../shlr/java/ops.o -#CFLAGS+= -Wno-unused-function + SHARED2_JAVA=$(addprefix ../,${SHARED_JAVA}) STATIC_OBJ+=${OBJ_JAVA}