Dear Config Support Team,

I am reaching out as a developer working with HarmonyOS. Currently, I am 
attempting to build the Libsodium library for HarmonyOS, an operating system 
based on Linux and similar to Android. However, I have encountered an error 
related to the "config.sub" script file while executing the build script for 
HarmonyOS on an x86_64 architecture.

Here is the error output:


./dist-build/harmonyos-x86_64.sh [...Warnings about headers...] checking build 
system type... x86_64-apple-darwin23.0.0 checking host system type... Invalid 
configuration 'x86_64-linux-ohos': OS 'ohos' not recognized configure: error: 
/bin/sh ./build-aux/config.sub x86_64-linux-ohos failed 
In response to this issue, I have made modifications to the "config.sub" script 
and submitted a pull request to the Libsodium GitHub repository, which can be 
found at: https://github.com/jedisct1/libsodium/pull/1342

Additionally, I have attached a patch to this email that should allow for the 
support of HarmonyOS in the build process. I kindly ask for your assistance in 
reviewing and integrating this patch to enable Libsodium to be built for 
HarmonyOS systems.

Thank you for your time and consideration. I look forward to your support in 
this matter.

Best regards, Andy 1209996...@qq.com















????????

????????

Attachment: config.sub
Description: Binary data

Attachment: harmonyos-build.sh
Description: Binary data

Attachment: harmonyos-x86_64.sh
Description: Binary data

Reply via email to