File: use-dynamic-gnat-libs.patch

package info (click to toggle)
phcpack 2.4.86%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 129,808 kB
  • sloc: ada: 924,840; cpp: 147,658; ansic: 59,431; python: 30,962; makefile: 3,577; lisp: 444; javascript: 352
file content (16 lines) | stat: -rw-r--r-- 599 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Link against dynamic gnat libraries.
Author: Doug Torrance <dtorrance@debian.org>
Bug: https://github.com/janverschelde/PHCpack/issues/26
Last-Update: 2021-07-09

--- a/src/Objects/makefile_unix
+++ b/src/Objects/makefile_unix
@@ -4162,7 +4162,7 @@
 	ranlib phcpy2c3.a
 	$(gpp) -shared -o ../Python/PHCpy3/phcpy/phcpy2c3.so -lm \
             -Wl,-whole-archive phcpy2c3.a $(QD_LIB)/libqd.a \
-            $(ADALIB)/libgnat_pic.a $(ADALIB)/libgnarl_pic.a \
+            -lgnat -lgnarl \
             -Wl,-no-whole-archive -lrt
 
 # phcpy2c with double version of Path library :