Browse Source

Fix bug in last commit

master^2
Jeff Williams 1 year ago
parent
commit
396d6d4dec
  1. 2
      scripts/find_linux_jnih

2
scripts/find_linux_jnih

@ -5,7 +5,7 @@ then
# JAVA_HOME not set. Figure out what to use for it.
JAVA_HOME=$(dirname $(readlink -f $(which java) | sed 's^jre/bin/^^'))
# Handle the case where java is being run from the jdk itself, not from within the jre
JAVA_HOME=$(echo $JAVA_HOME | sed 's^bin/^^')
JAVA_HOME=$(echo $JAVA_HOME | sed 's^/bin^^')
fi
echo // +build linux,!android > jni_linux.tmp

Loading…
Cancel
Save