Skip to content

Commit

Permalink
svm/libcontainer: move jni*.h into the right directories
Browse files Browse the repository at this point in the history
  • Loading branch information
zapster committed Jun 4, 2024
1 parent 529450d commit 2342b27
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions substratevm/mx.substratevm/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,8 @@
# e.g., '__cxa_pure_virtual'. -O1 or higher avoids the problem.
# "-DASSERT", "-DPRINT_WARNINGS", "-g", "-O1", "-DLOG_LEVEL=6",
# include dirs
"-I<path:com.oracle.svm.native.libcontainer>/src/java.base/share/native",
"-I<path:com.oracle.svm.native.libcontainer>/src/java.base/unix/native",
"-I<path:com.oracle.svm.native.libcontainer>/src/hotspot",
"-I<path:com.oracle.svm.native.libcontainer>/src/hotspot/share",
"-I<path:com.oracle.svm.native.libcontainer>/src/hotspot/os/linux",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
root = .
builddir = build

includes = -Isrc/hotspot -Isrc/hotspot/share -Isrc/svm -Isrc/svm/share
includes_linux = $includes -Isrc/hotspot/os/linux -Isrc/hotspot/os/posix -Isrc/hotspot/os/posix/include
includes = -Isrc/hotspot -Isrc/hotspot/share -Isrc/svm -Isrc/svm/share -Isrc/java.base/share/native
includes_linux = $includes -Isrc/hotspot/os/linux -Isrc/hotspot/os/posix -Isrc/hotspot/os/posix/include -Isrc/java.base/unix/native
defines_linux = -DNATIVE_IMAGE -DLINUX -DINCLUDE_SUFFIX_COMPILER=_gcc -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS

cflags_linux = $defines_linux -std=c++14 $includes_linux -fno-rtti -fno-exceptions -fvisibility=hidden -fPIC
Expand Down

0 comments on commit 2342b27

Please # to comment.