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

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