|
|
|
@ -612,12 +612,12 @@ class JNISystemDependency(SystemDependency): |
|
|
|
|
|
|
|
|
|
@staticmethod |
|
|
|
|
def __machine_info_to_platform_include_dir(m: 'MachineInfo') -> T.Optional[str]: |
|
|
|
|
"""Translates the machine information to the platform-dependent include directory |
|
|
|
|
'''Translates the machine information to the platform-dependent include directory |
|
|
|
|
|
|
|
|
|
When inspecting a JDK release tarball or $JAVA_HOME, inside the `include/` directory is a |
|
|
|
|
platform-dependent directory that must be on the target's include path in addition to the |
|
|
|
|
parent `include/` directory. |
|
|
|
|
""" |
|
|
|
|
''' |
|
|
|
|
if m.is_linux(): |
|
|
|
|
return 'linux' |
|
|
|
|
elif m.is_windows(): |
|
|
|
|