Skip to content

Commit

Permalink
Fix bug in wscript
Browse files Browse the repository at this point in the history
  • Loading branch information
gchabert committed Sep 8, 2020
1 parent 99da7e7 commit 89adcdc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,10 @@ def build (bld):
)

java_ibex_header = "src/%s_Ibex.h" % bld.env.JAVA_SIGNATURE

# Generate C++ header with javah
if bld.env.java_main_version<10:
pathdir = os.path.dirname (bld.env.JAVAC[0])
if os.path.exists(pathdir+"/bin/javah"): # valid for JDK<10
bld (
features = "myjavah",
source = java_ibex_class,
Expand Down

0 comments on commit 89adcdc

Please sign in to comment.