commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject commons-crypto git commit: CRYPTO-70 Compiling on Windows
Date Sat, 02 Jul 2016 21:30:59 GMT
Repository: commons-crypto
Updated Branches:
  refs/heads/master f2e5e8b6e -> 678b2bfc4


CRYPTO-70 Compiling on Windows

Needs additional include dir for jni.h

Project: http://git-wip-us.apache.org/repos/asf/commons-crypto/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-crypto/commit/678b2bfc
Tree: http://git-wip-us.apache.org/repos/asf/commons-crypto/tree/678b2bfc
Diff: http://git-wip-us.apache.org/repos/asf/commons-crypto/diff/678b2bfc

Branch: refs/heads/master
Commit: 678b2bfc48447a4fa88870d85668097733a98598
Parents: f2e5e8b
Author: Sebb <sebb@apache.org>
Authored: Sat Jul 2 22:30:56 2016 +0100
Committer: Sebb <sebb@apache.org>
Committed: Sat Jul 2 22:30:56 2016 +0100

----------------------------------------------------------------------
 Makefile.common | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-crypto/blob/678b2bfc/Makefile.common
----------------------------------------------------------------------
diff --git a/Makefile.common b/Makefile.common
index 7b61aea..7a1e543 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -236,8 +236,8 @@ FreeBSD-x86_64_COMMONS_CRYPTO_FLAGS :=
 Windows-x86_CC           := $(CROSS_PREFIX)gcc
 Windows-x86_CXX          := $(CROSS_PREFIX)g++
 Windows-x86_STRIP        := $(CROSS_PREFIX)strip
-Windows-x86_CFLAGS       := -Ilib/inc_win -O2
-Windows-x86_CXXFLAGS     := -Ilib/inc_win -O2
+Windows-x86_CFLAGS       := -I"$(JAVA_HOME)/include" -Ilib/inc_win -O2
+Windows-x86_CXXFLAGS     := -I"$(JAVA_HOME)/include" -Ilib/inc_win -O2
 Windows-x86_LINKFLAGS    := -Wl,--kill-at -shared -static
 Windows-x86_LIBNAME      := commons-crypto.dll
 Windows-x86_COMMONS_CRYPTO_FLAGS :=
@@ -245,8 +245,8 @@ Windows-x86_COMMONS_CRYPTO_FLAGS :=
 Windows-x86_64_CC           := $(CROSS_PREFIX)gcc
 Windows-x86_64_CXX          := $(CROSS_PREFIX)g++
 Windows-x86_64_STRIP        := $(CROSS_PREFIX)strip
-Windows-x86_64_CFLAGS       := -Ilib/inc_win -O2
-Windows-x86_64_CXXFLAGS     := -Ilib/inc_win -O2
+Windows-x86_64_CFLAGS       := -I"$(JAVA_HOME)/include" -Ilib/inc_win -O2
+Windows-x86_64_CXXFLAGS     := -I"$(JAVA_HOME)/include" -Ilib/inc_win -O2
 Windows-x86_64_LINKFLAGS    := -Wl,--kill-at -shared -static
 Windows-x86_64_LIBNAME      := commons-crypto.dll
 Windows-x86_64_COMMONS-CRYPTO_FLAGS :=


Mime
View raw message