Browse Source

Makefile bugfix

JNI-88
heck 6 years ago
parent
commit
cbf1b2221c
  1. 7
      test/Makefile
  2. 3
      test/Testing.java

7
test/Makefile

@ -1,14 +1,17 @@
include ../Makefile.conf include ../Makefile.conf
$(info If on Mac, make sure to disable SIP, or copy the libpEpEngine.dylib into here) $(info If on Mac, make sure to disable SIP, or copy the libpEpEngine.dylib into here)
ifeq ($(BUILD_FOR),Linux)
ifdef ENGINE_LIB_PATH
ifeq ($(BUILD_FOR),Linux)
ifndef LD_LIBRARY_PATH ifndef LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$(ENGINE_LIB_PATH) export LD_LIBRARY_PATH=$(ENGINE_LIB_PATH)
endif endif
else ifeq ($(BUILD_FOR),Darwin) else ifeq ($(BUILD_FOR),Darwin)
ifndef DYLD_LIBRARY_PATH ifndef DYLD_LIBRARY_PATH
export DYLD_LIBRARY_PATH=$(ENGINE_LIB_PATH) export DYLD_LIBRARY_PATH=$(ENGINE_LIB_PATH)
endif endif
endif
endif endif
CLASSPATH=.:../src CLASSPATH=.:../src

3
test/Testing.java

@ -129,7 +129,7 @@ class Testing {
ex.printStackTrace(); ex.printStackTrace();
} }
//e.startSync(); e.startSync();
// Keygen // Keygen
System.out.println("Generating keys: "); System.out.println("Generating keys: ");
@ -154,4 +154,3 @@ class Testing {
System.exit(0); System.exit(0);
} }
} }

Loading…
Cancel
Save