Commit 1fd10764 authored by Miro Knejp's avatar Miro Knejp

Prepend djinni_support.hpp with --jni-base-lib-include-prefix

Since this header and all the other support files are located in the same folder this prefix should probably be applied to djinni_support.hpp as well.
parent d1153188
......@@ -37,7 +37,7 @@ class JNIGenerator(spec: Spec) extends Generator(spec) {
var jniCpp = mutable.TreeSet[String]()
jniHpp.add("#include " + q(spec.jniIncludeCppPrefix + spec.cppFileIdentStyle(name) + "." + spec.cppHeaderExt))
jniHpp.add("#include \"djinni_support.hpp\"")
jniHpp.add("#include " + q(spec.jniBaseLibIncludePrefix + "djinni_support.hpp"))
def find(ty: TypeRef) { find(ty.resolved) }
def find(tm: MExpr) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment