Author: sparky Date: Thu Feb 15 18:04:51 2007 GMT Module: SOURCES Tag: HEAD ---- Log message: - libtool does not recognize *.a files as object files and puts them at the end of gcc command line, later all libraries required only by .a file are discarded by --as-needed. Use libpaps.o for test_libpaps instead of libpaps.a.
---- Files affected: SOURCES: paps-as-needed.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/paps-as-needed.patch diff -u /dev/null SOURCES/paps-as-needed.patch:1.1 --- /dev/null Thu Feb 15 19:04:51 2007 +++ SOURCES/paps-as-needed.patch Thu Feb 15 19:04:45 2007 @@ -0,0 +1,14 @@ +diff -Nur paps-0.6.7.orig/src/Makefile.am paps-0.6.7.as-needed/src/Makefile.am +--- paps-0.6.7.orig/src/Makefile.am 2006-04-17 07:42:08.000000000 +0000 ++++ paps-0.6.7.as-needed/src/Makefile.am 2007-02-15 17:59:57.000000000 +0000 +@@ -20,8 +20,7 @@ + noinst_PROGRAMS = test_libpaps + + +-test_libpaps_SOURCES = test_libpaps.c +-test_libpaps_LDADD = $(lib_LIBRARIES) $(all_libraries) ++test_libpaps_SOURCES = test_libpaps.c libpaps.c ++test_libpaps_LDADD = $(all_libraries) + test_libpaps_LDFLAGS = `pkg-config --libs pangoft2` +-test_libpaps_DEPENDENCIES = $(lib_LIBRARIES) + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
