File: multiarch-libmikmod-config.patch

package info (click to toggle)
libmikmod 3.3.11.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,884 kB
  • sloc: ansic: 34,466; sh: 4,443; makefile: 519
file content (25 lines) | stat: -rw-r--r-- 538 bytes parent folder | download | duplicates (4)
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
Description: Ignore the library directory in -config
Author: Stephen Kitt <skitt@debian.org>

In Debian, the linkers know where to find libraries, so we needn’t
specify their path in the -config output.

--- a/libmikmod-config.in
+++ b/libmikmod-config.in
@@ -3,7 +3,6 @@
 prefix=@prefix@
 exec_prefix=@exec_prefix@
 exec_prefix_set=no
-libdir=@libdir@
 includedir=@includedir@
 
 usage="\
@@ -50,7 +49,7 @@
 		echo @LIB_LDADD@
 	;;
 	--libs)
-		echo -L@libdir@ -lmikmod @LIBRARY_LIB@
+		echo -lmikmod
 	;;
 	*)
 		echo "${usage}" 1>&2