python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / ada / gnatcoll / gnatcoll-db-sqlite-static-external.patch
blobf67837d7d5162e5565a8098aa4f50198d4dd78ed
1 diff --git a/sqlite/gnatcoll_sqlite.gpr b/sqlite/gnatcoll_sqlite.gpr
2 index 5bd53d35..580739f8 100644
3 --- a/sqlite/gnatcoll_sqlite.gpr
4 +++ b/sqlite/gnatcoll_sqlite.gpr
5 @@ -69,7 +69,12 @@ project GnatColl_Sqlite is
6 for Source_Dirs use (".", "amalgamation");
7 when "external" =>
8 for Source_Dirs use (".");
9 - for Library_Options use ("-lsqlite3") & Thread_Lib;
10 + case Library_Type is
11 + when "relocatable" =>
12 + for Library_Options use ("-lsqlite3") & Thread_Lib;
13 + when others =>
14 + null;
15 + end case;
16 end case;
18 package Compiler is