summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch')
-rw-r--r--meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch57
1 files changed, 57 insertions, 0 deletions
diff --git a/meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch b/meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch
new file mode 100644
index 0000000000..c6b9f5919b
--- /dev/null
+++ b/meta/recipes-graphics/tslib/tslib/0001-Link-plugins-against-libts.patch
@@ -0,0 +1,57 @@
1From 9623bbedf4ff409e5036edfcfe52b2595932a6d7 Mon Sep 17 00:00:00 2001
2From: Chris Larson <clarson@kergoth.com>
3Date: Sat, 1 Nov 2008 20:46:07 +0000
4Subject: [PATCH] Link plugins against libts
5
6Some plugins use tslib functions. Link those plugins against libts.
7The problem is easy to see with LDFLAGS="-Wl,-no-undefined".
8Without this change DirectFB in unable to use tslib because symbols
9in the tslib plugins can't be resolved.
10
11Signed-off-by: Ville Syrjala <syrjala@sci.fi>
12Signed-off-by: Chris Larson <clarson@kergoth.com>
13
14The patch was imported from git server git://github.com/kergoth/tslib.git
15as of commit id 9623bbedf4ff409e5036edfcfe52b2595932a6d7.
16
17Upstream-Status: Accepted
18Signed-off-by: Dmitry Cherukhin <dima_ch@emcraft.com>
19---
20 plugins/Makefile.am | 5 +++++
21 1 files changed, 5 insertions(+), 0 deletions(-)
22
23diff --git a/plugins/Makefile.am b/plugins/Makefile.am
24index 3b902c2..4c4ef8b 100644
25--- a/plugins/Makefile.am
26+++ b/plugins/Makefile.am
27@@ -114,15 +114,19 @@ pluginexec_LTLIBRARIES = \
28
29 variance_la_SOURCES = variance.c
30 variance_la_LDFLAGS = -module $(LTVSN)
31+variance_la_LIBADD = $(top_builddir)/src/libts.la
32
33 dejitter_la_SOURCES = dejitter.c
34 dejitter_la_LDFLAGS = -module $(LTVSN)
35+dejitter_la_LIBADD = $(top_builddir)/src/libts.la
36
37 linear_la_SOURCES = linear.c
38 linear_la_LDFLAGS = -module $(LTVSN)
39+linear_la_LIBADD = $(top_builddir)/src/libts.la
40
41 pthres_la_SOURCES = pthres.c
42 pthres_la_LDFLAGS = -module $(LTVSN)
43+pthres_la_LIBADD = $(top_builddir)/src/libts.la
44
45 # hw access
46 corgi_la_SOURCES = corgi-raw.c
47@@ -148,6 +152,7 @@ tatung_la_LDFLAGS = -module $(LTVSN)
48
49 input_la_SOURCES = input-raw.c
50 input_la_LDFLAGS = -module $(LTVSN)
51+input_la_LIBADD = $(top_builddir)/src/libts.la
52
53 linear_h2200_la_SOURCES = linear-h2200.c
54 linear_h2200_la_LDFLAGS = -module $(LTVSN)
55--
561.7.6.4
57