Skip to content

Commit 365b7e9

Browse files
authored
Don't include directory in #include
1 parent 8dd3c3a commit 365b7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-tools/jnienv-gen/Generator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ static void GenerateNativeLibSource (TextWriter source, TextWriter header, strin
501501
header.WriteLine ();
502502

503503
if (headerName != "-") {
504-
source.WriteLine ($"#include \"{headerName}\"");
504+
source.WriteLine ($"#include \"{Path.GetFileName (headerName)}\"");
505505
}
506506

507507
foreach (JniFunction entry in JNIEnvEntries) {

0 commit comments

Comments
 (0)