aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c5588b7..d6093e0 100644
--- a/meson.build
+++ b/meson.build
@@ -23,6 +23,7 @@ launcher_os = get_option('launcher_os')
launcher_arch_bits = get_option('launcher_arch_bits')
launcher_arch = get_option('launcher_arch')
launcher_jre_arch = get_option('launcher_jre_arch')
+launcher_java_path_sep = get_option('launcher_java_path_sep')
if launcher_os == 'auto'
if host_machine.system() == 'linux'
@@ -80,6 +81,14 @@ if launcher_jre_arch == 'auto'
endif
endif
+if launcher_java_path_sep == ''
+ if host_machine.system() == 'windows'
+ launcher_java_path_sep = ';'
+ else
+ launcher_java_path_sep = ':'
+ endif
+endif
+
message('Using launcher OS', launcher_os)
config_data.set_quoted('L2SU_LAUNCHER_OS', launcher_os)
@@ -100,6 +109,9 @@ config_data.set_quoted('L2SU_LAUNCHER_ARCH', launcher_arch)
message('Using launcher JRE arch', launcher_jre_arch)
config_data.set_quoted('L2SU_JRE_ARCH', launcher_jre_arch)
+message('Using launcher classpath separator', launcher_java_path_sep)
+config_data.set_quoted('L2SU_CLASSPATH_SEP', launcher_java_path_sep)
+
if launcher_jre_arch == 'gamecore'
message('(launcher_jre_arch == gamecore, so JREs will most likely not be downloaded.)')
endif