We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 863613c + 8d7625c commit ee77aa7Copy full SHA for ee77aa7
gdnative-sys/build.rs
@@ -158,18 +158,21 @@ mod header_binding {
158
.to_string_lossy(),
159
);
160
161
+ let target_triple = match target_triple.as_str() {
162
+ "armv7-linux-androideabi" => "arm-linux-androideabi", // Workaround for different naming scheme with NDK
163
+ _ => &target_triple,
164
+ };
165
+
166
builder = builder.clang_arg("-I").clang_arg(
167
Path::join(
168
&android_ndk_root,
169
format!(
170
"toolchains/llvm/prebuilt/{host}/sysroot/usr/include/{target_triple}",
171
host = &host_tag,
- target_triple = &target_triple,
172
),
173
)
174
175
-
176
builder
177
}
178
0 commit comments