Blame SOURCES/autotrace-0.31.1-multilib-fix.patch

440f6d
diff -up autotrace-0.31.1/autotrace-config.in.orig autotrace-0.31.1/autotrace-config.in
440f6d
--- autotrace-0.31.1/autotrace-config.in.orig	2002-11-08 19:18:31.000000000 +0100
440f6d
+++ autotrace-0.31.1/autotrace-config.in	2013-07-19 10:05:14.516133368 +0200
440f6d
@@ -4,6 +4,7 @@ af_libs=
440f6d
 af_cflags=
440f6d
 prefix=@prefix@
440f6d
 exec_prefix=@exec_prefix@
440f6d
+libdir=`pkg-config --variable=libdir autotrace`
440f6d
 
440f6d
 
440f6d
 ##
440f6d
@@ -205,7 +206,7 @@ fi
440f6d
 #dummy because this should always be selected
440f6d
 
440f6d
 af_cflags="$af_cflags -I@includedir@"
440f6d
-af_libs="-L@libdir@ -lautotrace @LIBPNG_LDFLAGS@ @MAGICK_LDFLAGS@ @LIBSWF_LDFLAGS@ @LIBPSTOEDIT_LIBS@ $af_libs"
440f6d
+af_libs="-L$libdir -lautotrace @LIBPNG_LDFLAGS@ @MAGICK_LDFLAGS@ @LIBSWF_LDFLAGS@ @LIBPSTOEDIT_LIBS@ $af_libs"
440f6d
 
440f6d
 
440f6d