Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Fix some linker errors to do with C++ vs C compilation #49

Merged
merged 9 commits into from
Oct 15, 2021
Merged

Conversation

liamappelbe
Copy link
Contributor

@liamappelbe liamappelbe commented Oct 15, 2021

I was using clang++ to compile some C files, so the names were mangled according to C++ rules, so couldn't be found at load time. It's odd that this only came up when compiling for Android. Maybe clang compiles .c files using C mangling rules by default, but the versions of clang in the NDK don't do this?

#40

@liamappelbe liamappelbe merged commit d81a6a6 into main Oct 15, 2021
@liamappelbe liamappelbe deleted the flutter2 branch October 15, 2021 19:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant