libmikmod/libmikmod-3.1.12-config-fix.diff
OBS User autobuild dfdc7a3091 Accepting request 27748 from multimedia:libs
Copy from multimedia:libs/libmikmod based on submit request 27748 from user tiwai

OBS-URL: https://build.opensuse.org/request/show/27748
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmikmod?expand=0&rev=12
2009-12-29 23:25:54 +00:00

23 lines
587 B
Diff

Index: libmikmod-config.in
===================================================================
--- libmikmod-config.in.orig
+++ libmikmod-config.in
@@ -3,6 +3,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
exec_prefix_set=no
+libdir=@libdir@
usage="\
Usage: libmikmod-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] [--ldadd]"
@@ -49,8 +50,7 @@ while test $# -gt 0 ; do
echo @LIB_LDADD@
;;
--libs)
- libdir=-L${exec_prefix}/lib
- echo $libdir -lmikmod @LIBRARY_LIB@
+ echo -L$libdir -lmikmod @LIBRARY_LIB@
;;
*)
echo "${usage}" 1>&2