#!/bin/bash

JDK=/usr/lib/jvm/java-6-sun
JDK_LIBS=$JDK/jre/lib/amd64:$JDK/jre/lib/amd64/server

export LD_RUN_PATH=$JDK_LIBS
export JCC_INCLUDES="$JDK/include;$JDK/include/linux"
export JCC_ARGSEP=";"
export JCC_LFLAGS="-L$JDK/jre/lib/amd64;-L$JDK/jre/lib/amd64/server;-ljava;-ljvm;-Wl,-rpath=$JDK_LIBS"

python2.6 setup.py build install


