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