tslib-1.0-link-plugins-against-libts.patch 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. commit 12435b337ea074bd31ccb03aff58c7eefa86f31c
  2. Author: kergoth <kergoth@a933c7a4-9bf7-0310-9141-a2e45189604d>
  3. Date: Sat Nov 1 20:46:07 2008 +0000
  4. Link plugins against libts
  5. Some plugins use tslib functions. Link those plugins against libts.
  6. The problem is easy to see with LDFLAGS="-Wl,-no-undefined".
  7. Without this change DirectFB in unable to use tslib because symbols
  8. in the tslib plugins can't be resolved.
  9. Signed-off-by: Ville Syrjala <syrjala@sci.fi>
  10. Signed-off-by: Chris Larson <clarson@kergoth.com>
  11. git-svn-id: svn://svn.berlios.de/tslib/trunk/tslib@56 a933c7a4-9bf7-0310-9141-a2e45189604d
  12. diff --git a/plugins/Makefile.am b/plugins/Makefile.am
  13. index 3b902c2..4c4ef8b 100644
  14. --- a/plugins/Makefile.am
  15. +++ b/plugins/Makefile.am
  16. @@ -114,15 +114,19 @@ pluginexec_LTLIBRARIES = \
  17. variance_la_SOURCES = variance.c
  18. variance_la_LDFLAGS = -module $(LTVSN)
  19. +variance_la_LIBADD = $(top_builddir)/src/libts.la
  20. dejitter_la_SOURCES = dejitter.c
  21. dejitter_la_LDFLAGS = -module $(LTVSN)
  22. +dejitter_la_LIBADD = $(top_builddir)/src/libts.la
  23. linear_la_SOURCES = linear.c
  24. linear_la_LDFLAGS = -module $(LTVSN)
  25. +linear_la_LIBADD = $(top_builddir)/src/libts.la
  26. pthres_la_SOURCES = pthres.c
  27. pthres_la_LDFLAGS = -module $(LTVSN)
  28. +pthres_la_LIBADD = $(top_builddir)/src/libts.la
  29. # hw access
  30. corgi_la_SOURCES = corgi-raw.c
  31. @@ -148,6 +152,7 @@ tatung_la_LDFLAGS = -module $(LTVSN)
  32. input_la_SOURCES = input-raw.c
  33. input_la_LDFLAGS = -module $(LTVSN)
  34. +input_la_LIBADD = $(top_builddir)/src/libts.la
  35. linear_h2200_la_SOURCES = linear-h2200.c
  36. linear_h2200_la_LDFLAGS = -module $(LTVSN)