1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: only set -l Library_Options for relocatable builds.
gprbuild has stopped ignoring Library_Options during static builds.
Author: Nicolas Boulenguez <nicolas@debian.org>
Forwarded: no
--- a/sqlite/gnatcoll_sqlite.gpr
+++ b/sqlite/gnatcoll_sqlite.gpr
@@ -70,7 +70,12 @@
for Source_Dirs use (".", "amalgamation");
when "external" =>
for Source_Dirs use (".");
- for Library_Options use ("-lsqlite3") & Thread_Lib;
+ case Library_Type is
+ when "relocatable" =>
+ for Library_Options use ("-lsqlite3") & Thread_Lib;
+ when others =>
+ null;
+ end case;
end case;
package Compiler is
|