1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
Description: do not assume that gnatcoll.gpr defines So_Ext.
Debian cannot assume that gnatcoll.gpr is the exact project
distributed by upstream install system.
.
Since upstream will probably not be interested,
this patch does not try to be portable.
Forwarded: not-needed
Author: Nicolas Boulenguez <nicolas@debian.org>
--- a/gmp/gnatcoll_gmp.gpr
+++ b/gmp/gnatcoll_gmp.gpr
@@ -51,7 +51,7 @@
case Library_Type is
when "relocatable" =>
- for Library_Version use "lib" & Name & Gnatcoll.So_Ext & "." & Version;
+ for Library_Version use "lib" & Name & ".so." & Version;
for Library_Options use ("-lgmp");
for Leading_Library_Options use Ldflags;
when others =>
--- a/iconv/gnatcoll_iconv.gpr
+++ b/iconv/gnatcoll_iconv.gpr
@@ -53,7 +53,7 @@
case Library_Type is
when "relocatable" =>
- for Library_Version use "lib" & Name & Gnatcoll.So_Ext & "." & Version;
+ for Library_Version use "lib" & Name & ".so." & Version;
for Library_Options use (Iconv_Opt);
for Leading_Library_Options use Ldflags;
when others =>
--- a/python/gnatcoll_python.gpr
+++ b/python/gnatcoll_python.gpr
@@ -55,7 +55,7 @@
case Library_Type is
when "relocatable" =>
- for Library_Version use "lib" & Name & Gnatcoll.So_Ext & "." & Version;
+ for Library_Version use "lib" & Name & ".so." & Version;
for Leading_Library_Options use Ldflags;
case Libpython_Kind is
when "shared" =>
--- a/readline/gnatcoll_readline.gpr
+++ b/readline/gnatcoll_readline.gpr
@@ -47,7 +47,7 @@
case Library_Type is
when "relocatable" =>
- for Library_Version use "lib" & Name & Gnatcoll.So_Ext & "." & Version;
+ for Library_Version use "lib" & Name & ".so." & Version;
for Library_Options use ("-lreadline");
for Leading_Library_Options use Ldflags;
when others =>
--- a/syslog/gnatcoll_syslog.gpr
+++ b/syslog/gnatcoll_syslog.gpr
@@ -50,7 +50,7 @@
case Library_Type is
when "relocatable" =>
for Leading_Library_Options use Ldflags;
- for Library_Version use "lib" & Name & Gnatcoll.So_Ext & "." & Version;
+ for Library_Version use "lib" & Name & ".so." & Version;
when others =>
null;
end case;
|