reduce-linking.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Description: do not link htmlcxx against libcss_parser, but have
  2. libcss_parser_pp link against it.
  3. Author: Ludovico Cavedon <cavedon@debian.org>
  4. Index: htmlcxx/Makefile.am
  5. ===================================================================
  6. --- htmlcxx.orig/Makefile.am
  7. +++ htmlcxx/Makefile.am
  8. @@ -3,7 +3,7 @@ SUBDIRS = html css
  9. bin_PROGRAMS = htmlcxx
  10. htmlcxx_SOURCES = htmlcxx.cc wingetopt.h
  11. -htmlcxx_LDADD = html/libhtmlcxx.la css/libcss_parser_pp.la css/libcss_parser.la
  12. +htmlcxx_LDADD = html/libhtmlcxx.la css/libcss_parser_pp.la
  13. EXTRA_DIST = ASF-2.0 LGPL_V2 wingetopt.c htmlcxx.spec htmlcxx.vcproj htmlcxxapp.vcproj htmlcxx.pc.in
  14. Index: htmlcxx/css/Makefile.am
  15. ===================================================================
  16. --- htmlcxx.orig/css/Makefile.am
  17. +++ htmlcxx/css/Makefile.am
  18. @@ -1,11 +1,12 @@
  19. -lib_LTLIBRARIES = libcss_parser_pp.la libcss_parser.la
  20. -
  21. -libcss_parser_pp_la_SOURCES = parser_pp.h parser_pp.cc parser.c
  22. -libcss_parser_pp_la_LDFLAGS = -version-info 0:0:0
  23. +lib_LTLIBRARIES = libcss_parser.la libcss_parser_pp.la
  24. libcss_parser_la_SOURCES = css_syntax.y css_lex.l css_lex.h css_syntax.h parser.c parser.h
  25. libcss_parser_la_LDFLAGS = -version-info 0:0:0
  26. +libcss_parser_pp_la_SOURCES = parser_pp.h parser_pp.cc parser.c
  27. +libcss_parser_pp_la_LDFLAGS = -version-info 0:0:0
  28. +libcss_parser_pp_la_LIBADD = libcss_parser.la
  29. +
  30. AM_YFLAGS = -d
  31. AM_LFLAGS = -i