diff options
| author | 2023-12-27 06:51:29 -0600 | |
|---|---|---|
| committer | 2023-12-27 06:51:29 -0600 | |
| commit | 5e141e336c3a2cb8921edcd7af6f14a29ff63942 (patch) | |
| tree | 80df676cd02693746b505aecbec5c9ee529b5e7b /meson.build | |
| parent | refactor instances (diff) | |
add cheap SHA1 implementation
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meson.build b/meson.build index cdb51a0..e65eb11 100644 --- a/meson.build +++ b/meson.build @@ -9,5 +9,13 @@ config_data = configuration_data() config_data.set_quoted('PROJECT_NAME', 'l2su') config_data.set_quoted('PROJECT_NAME_UPPER', 'L2SU') +if host_machine.endian() == 'little' + config_data.set('L2SU_ENDIAN_LITTLE', true) +elif host_machine.endian() == 'big' + config_data.set('L2SU_ENDIAN_BIG', true) +else + error('Middle endian is unsupported') +endif + subdir('src') executable('l2su', launcher_srcs, dependencies : [curl_dep, jansson_dep], include_directories : [config_include_dir], override_options : {'c_std': 'c99'}) |
