Linker error compile Editor module

Hi, we are having problems building our project in the Editor. Building standalone (through VS) works, and we have isolated the error to building ProgEditor. Prog by itself works fine.
I believe the problem to be caused by the sqlite3Module module. The functions which it provides aren’t being found by the linker.

Parsing headers for ProgEditor
Running UnrealHeaderTool […]
[1/2] UE4Editor-Prog.dll
Creating library C:\Users.…\UE4Editor-Prog.suppressed.lib and object C:\Users.…\UE4Editor-Prog.suppressed.exp
Database.cpp.obj : error LNK2019: unresolved external symbol sqlite3_close referenced in function “public: __cdecl Database::~Database(void)” (??1Database@@QEAA@XZ)
[Additional linker errors]

The source directories are as follows:

  • Prog
    • [Various files]
  • sqlite3Module
    • Private
      • sqlite3Module.h (Module header file)
      • sqlite3.h (sqlite library header)
    • Public
      • sqlite3Module.cpp (Module source file)
      • sqlite3.c (sqlite library source)
    • sqlite3Module.Build.cs