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

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