From f1eb98a9ec70d6327227a736ea07bcf6b37656bd Mon Sep 17 00:00:00 2001 From: michelou Date: Tue, 12 Jun 2007 12:10:33 +0000 Subject: disabled debug flag --- test/files/jvm/mkLibNatives.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/files/jvm') diff --git a/test/files/jvm/mkLibNatives.sh b/test/files/jvm/mkLibNatives.sh index e911330ab3..e97bb01c15 100755 --- a/test/files/jvm/mkLibNatives.sh +++ b/test/files/jvm/mkLibNatives.sh @@ -9,7 +9,7 @@ # variables # set any value to enable debugging output -debug=1 +debug= cygwin=false; darwin=false; @@ -27,7 +27,7 @@ LIB_NAME=libnatives if [ -z "${JAVA_HOME}" ]; then echo "environment variable JAVA_HOME is undefined." exit -elif [ $cygwin ]; then +elif $cygwin; then echo "Cygwin not supported (use 'mkLibNatives.bat')." exit fi @@ -44,11 +44,11 @@ LNK_OPTIONS="-shared -Wl,-soname,${LIB_NAME}" ############################################################################## # commands -[ "$debug" ] && echo ${JAVAH} ${JAVAH_OPTIONS} ${CLASS_NAME} +[ $debug ] && echo ${JAVAH} ${JAVAH_OPTIONS} ${CLASS_NAME} ${JAVAH} ${JAVAH_OPTIONS} ${CLASS_NAME} -[ "$debug" ] && echo ${CC} ${CC_OPTIONS} ${CC_INCLUDES} -o ${OBJ_NAME}.o natives.c +[ $debug ] && echo ${CC} ${CC_OPTIONS} ${CC_INCLUDES} -o ${OBJ_NAME}.o natives.c ${CC} ${CC_OPTIONS} ${CC_INCLUDES} -o ${OBJ_NAME}.o natives.c -[ "$debug" ] && echo ${CC} -shared -Wl,-soname,${LIB_NAME} -o ${LIB_NAME}.so ${OBJ_NAME}.o +[ $debug ] && echo ${CC} -shared -Wl,-soname,${LIB_NAME} -o ${LIB_NAME}.so ${OBJ_NAME}.o ${CC} ${LNK_OPTIONS} -o ${LIB_NAME}.so ${OBJ_NAME}.o -- cgit v1.2.3