File: versioned-libgnat.diff

package info (click to toggle)
libgmpada 1.6-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 452 kB
  • sloc: ada: 4,934; makefile: 132; ansic: 55; sh: 15; sed: 11
file content (16 lines) | stat: -rw-r--r-- 606 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: link with -lgnat-14 instead of -lgnat
 because of recent changes in the GCC packaging.
Forwarded: not-needed
Author: Nicolas Boulenguez <nicolas@debian.org>

--- a/Makefile
+++ b/Makefile
@@ -118,7 +118,7 @@
 	$(GNATMAKE) -c $(ada_units) -D obj-dynamic $(GNATMAKE_OPTIONS) \
           -cargs $(ADAFLAGS) -fPIC
 	$(CC) -shared -o $@ -Wl,-soname,$(shared_object_name) \
-	  obj-dynamic/*.o $(LDFLAGS) -lgnat $(LDLIBS)
+	  obj-dynamic/*.o $(LDFLAGS) -lgnat-$(gnat_version) $(LDLIBS)
 
 .PHONY: obj/$(static_library)
 obj/$(static_library): src/gmp-h.ads obj-static/gmp_macros.o | obj obj-static