Author: Adrian-Ken Rueegsegger <ken@codelabs.ch>
Description: Force linking against libpq

--- a/src-in/apq-postgresql.gpr.in
+++ b/src-in/apq-postgresql.gpr.in
@@ -41,7 +41,7 @@
 	for Languages use ( "Ada", "C" );
 	for Source_Dirs use ( "../../src/" & Project'Library_Name & "/" );
 	for Library_kind use external( "LIBRARY_KIND", "static" );
-
+	for Library_Options use ("-lpq");
 
 	case Debug is
 		when "true" =>
