Blame SOURCES/paps-fix-non-weak-symbol.patch

8ae51f
diff -pruN paps-0.6.8.orig/src/Makefile.am paps-0.6.8/src/Makefile.am
8ae51f
--- paps-0.6.8.orig/src/Makefile.am	2012-11-23 14:22:51.506176037 +0900
8ae51f
+++ paps-0.6.8/src/Makefile.am	2012-11-23 14:25:41.828410416 +0900
8ae51f
@@ -8,13 +8,14 @@ bin_PROGRAMS = paps
8ae51f
 paps_CFLAGS  = -Wall $(CUPS_CFLAGS)
8ae51f
 paps_SOURCES = paps.c
8ae51f
 paps_LDADD = $(lib_LTLIBRARIES) $(all_libraries)
8ae51f
-paps_LDFLAGS = `pkg-config --libs pangoft2` $(CUPS_LIBS)
8ae51f
+paps_LDFLAGS = $(CUPS_LIBS)
8ae51f
 paps_DEPENDENCIES = $(lib_LTLIBRARIES)
8ae51f
 
8ae51f
 EXTRA_DIST = test_libpaps.c paps.1
8ae51f
 
8ae51f
 # set the include path found by configure
8ae51f
 INCLUDES= $(all_includes) `pkg-config --cflags pangoft2`
8ae51f
+LIBS = `pkg-config --libs pangoft2`
8ae51f
 
8ae51f
 # Test program
8ae51f
 noinst_PROGRAMS = test_libpaps
8ae51f
@@ -22,6 +23,5 @@ noinst_PROGRAMS = test_libpaps
8ae51f
 
8ae51f
 test_libpaps_SOURCES = test_libpaps.c
8ae51f
 test_libpaps_LDADD = $(lib_LTLIBRARIES) $(all_libraries)
8ae51f
-test_libpaps_LDFLAGS = `pkg-config --libs pangoft2`
8ae51f
 test_libpaps_DEPENDENCIES = $(lib_LTLIBRARIES) 
8ae51f