File: dont_link_against_unused_libs

package info (click to toggle)
libopengl-perl 0.6704%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,988 kB
  • ctags: 1,979
  • sloc: perl: 10,008; ansic: 5,935; makefile: 101; sh: 51
file content (20 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: prune "useless" library dependencies detected by dpkg-shlibdeps
 The thing is that I don't understand much about X or OpenGL, so have no clue
 why upstream links against them even though they're not used, or if it's an
 artefact of our build environment that more advanced functionality does not
 get enabled, or ...
Author: Florian Schlichting <fsfs@debian.org>

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -508,10 +508,6 @@
   my $libs = ' -l'.join(' -l',values(%$found_libs));
   my @more_libs = qw
   {
-    -lXext
-    -lXmu
-    -lXi
-    -lICE
     -lX11
     -lm
   };