On Thu, Jan 11, 2024 at 04:15:48PM +0800, 熊安 wrote:
> 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

I'm not sure what "ohos" is.  Is it yet another libc on top of linux kernel?
Could you provide a reference, please?

> 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.

Sorry, what you've attached is unfortunately not a patch.


-- 
ldv

Reply via email to