--- audiofile-0.2.7.orig/audiofile-config.in	2010-03-12 09:57:54.000000000 +0100
+++ audiofile-0.2.7/audiofile-config.in	2013-10-27 19:45:25.000000000 +0100
@@ -45,7 +45,9 @@ while test $# -gt 0; do
       echo $includes
       ;;
     --libs)
-      libdirs=-L@libdir@
+      if test @libdir@ != /usr/libdir ; then
+        libdirs=-L@libdir@
+      fi
       echo $libdirs -laudiofile -lm
       ;;
     *)
