libConsole/Makefile
changeset 166 ecd6492274ad
parent 149 5acf77b9b7a0
--- a/libConsole/Makefile
+++ b/libConsole/Makefile
@@ -13,10 +13,10 @@
 ifdef JAVA_HOME
 	JAVA_DIR="$(JAVA_HOME)"
 else
-	JAVA_DIR=/usr/lib/jvm/java-6-sun
+	JAVA_DIR=/usr/lib/jvm/java-6-openjdk-amd64
 endif
 
-INCLUDE = -I$(JAVA_DIR)/include -I$(JAVA_DIR)/include/linux -Iinclude
+INCLUDE = -I$(JAVA_DIR)/include -I$(JAVA_DIR)/include/linux -Iinclude -fPIC
 
 .SUFFIXES: .java