summaryrefslogtreecommitdiff
path: root/bindings/java
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-10-15 20:45:37 +0000
committerAaron Griffin <aaron@archlinux.org>2006-10-15 20:45:37 +0000
commit91f450050335b747da2f4cd75260df7f9b36741c (patch)
tree406c3aea1d912a6027aa2ab4501a45666309d842 /bindings/java
parent505155d995ba77efe0a516f3b2ccf97cb2d0215d (diff)
downloadpacman-91f450050335b747da2f4cd75260df7f9b36741c.tar.xz
Fixed java includes - java bindings now compile
Diffstat (limited to 'bindings/java')
-rw-r--r--bindings/java/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/java/Makefile.in b/bindings/java/Makefile.in
index 3619c0ba..4aed9345 100644
--- a/bindings/java/Makefile.in
+++ b/bindings/java/Makefile.in
@@ -1,7 +1,7 @@
top_srcdir = @top_srcdir@
prefix = @prefix@
-CFLAGS = $(subst -Werror,,@CFLAGS@)
+CFLAGS = $(subst -Werror,,@CFLAGS@) -I$(JAVA_HOME)/include/ -I$(JAVA_HOME)/include/linux/
CFLAGS += -fno-strict-aliasing # see the swig docs
ifeq ($(shell arch),x86_64)
CFLAGS += -fPIC