The unified diff between revisions [c9f346c2..] and [bd016fa4..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'debian/gnade_sqlite3_build.gpr'

#
#
# patch "debian/gnade_sqlite3_build.gpr"
#  from [b8b6f50e0e45ce4cdd2673a67c18145d0be7cf07]
#    to [a1807c37c7361bdc4afd6b30e07d2cb9fea7ecd8]
#
============================================================
--- debian/gnade_sqlite3_build.gpr	b8b6f50e0e45ce4cdd2673a67c18145d0be7cf07
+++ debian/gnade_sqlite3_build.gpr	a1807c37c7361bdc4afd6b30e07d2cb9fea7ecd8
@@ -8,16 +8,25 @@ project GNADE_Sqlite3_Build is
    Libtype : Lib_Type := external ("LIBTYPE");

    for Languages use ("Ada");
+
+   --  libgnadeodbc doesn't need ../support, so could just link it in
+   --  here, rather than creating a separate library package. However,
+   --  then we'd have to decide which package would install gnade.gpr,
+   --  gnu.ads, and gnu-db.ads.
    for Source_Dirs use ("../dbi/sqlite3");
+   for Library_Dir use "tmp";
    for Object_Dir use "tmp/sqlite3-" & Libtype;

    for Library_Name use "gnadesqlite3";
-   for Library_Dir use "tmp";
    for Library_Kind use Libtype;

    --  Library_Version is not used when Library_Kind is "static"
    for Library_Version use "libgnadesqlite3.so." & Soversion;

+   --  We want libgnadesqlite3.so to contain a dynamic link to libsqlite3,
+   --  so dh_shlibdeps will create the correct package dependencies.
+   for Library_Options use ("-lsqlite3");
+
    package Compiler is
       Base_Switches :=
         ("-g",