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

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