File: libm.patch

package info (click to toggle)
libxml-bare-perl 0.53-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,380 kB
  • sloc: xml: 15,836; perl: 1,335; ansic: 1,025; cpp: 41; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: do not link against libm unnecessarily
 (Bare.so uses none of the libraries symbols)
Author: Florian Schlichting <fsfs@debian.org>

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -66,7 +66,6 @@
 }
 sub gen_cc {
   WriteMakefile( @basics,
-    LIBS      => ['-lm'],
     OBJECT    => 'Bare.o parser.o',
     LDDLFLAGS => '-shared -L/usr/local/lib',
   );