Index: ObjSQLite3.oc.in ================================================================== --- ObjSQLite3.oc.in +++ ObjSQLite3.oc.in @@ -1,5 +1,5 @@ package_format 1 -CPPFLAGS="$CPPFLAGS @SQLITE3_CPPFLAGS@" +CPPFLAGS="$CPPFLAGS -I@includedir@ @SQLITE3_CPPFLAGS@" LIBS="-L@libdir@ -lobjsqlite3 @SQLITE3_LIBS@ $LIBS" FRAMEWORK_LIBS="-L@libdir@ -lobjsqlite3 @SQLITE3_LIBS@ $FRAMEWORK_LIBS" STATIC_LIBS="@libdir@/libobjsqlite3.a @SQLITE3_LIBS@ $STATIC_LIBS" Index: meson.build ================================================================== --- meson.build +++ meson.build @@ -29,10 +29,11 @@ configure_file( input: 'ObjSQLite3.oc.in', output: 'ObjSQLite3.oc', configuration: { + 'includedir': get_option('prefix') / get_option('includedir'), 'libdir': get_option('prefix') / get_option('libdir'), 'SQLITE3_CPPFLAGS': sqlite3_cflags, 'SQLITE3_LIBS': sqlite3_libs, }, install: true,