This is an automated email from the ASF dual-hosted git repository.

huor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hawq.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ab78a8  HAWQ-1744. fix lib jvm not found in docker bug
3ab78a8 is described below

commit 3ab78a814ca6ec037e19bef88c64100435c84835
Author: oushu1tuyu1 <[email protected]>
AuthorDate: Wed Aug 14 19:22:21 2019 +0800

    HAWQ-1744. fix lib jvm not found in docker bug
---
 src/pl/pljava/src/C/pljava/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/pl/pljava/src/C/pljava/Makefile 
b/src/pl/pljava/src/C/pljava/Makefile
index fe94b30..5b36a25 100644
--- a/src/pl/pljava/src/C/pljava/Makefile
+++ b/src/pl/pljava/src/C/pljava/Makefile
@@ -118,13 +118,12 @@ else
                                $(JRE_LIB)/jrockit \
                                2> /dev/null))
                endif
-
                PLJAVA_CPPFLAGS += -I"$(JDK_HOME)/include" 
-I"$(JDK_HOME)/include/$(JRE_INCL)"
+               SHLIB_LINK += -L"$(JDK_HOME)/jre/lib/$(JRE_CPU)/server"
                SHLIB_LINK += -L. -L"$(JVM_LIB)" -ljvm
        endif
 endif
 
-
 override CPPFLAGS += $(PLJAVA_CPPFLAGS)
 override CFLAGS += $(PLJAVA_CFLAGS)
 

Reply via email to