aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
diff options
context:
space:
mode:
authorCliff Brake <cbrake@bec-systems.com>2010-11-12 00:00:20 -0500
committerCliff Brake <cbrake@bec-systems.com>2010-11-12 00:00:20 -0500
commit3c6efe8f8abc16668ca5e9cdf7a46665dac87172 (patch)
tree642c13416b99e80f0871cdc6668e832e635dfb48 /recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
parentc400c874f2ac9233b8a43a73309b6e7907289c54 (diff)
parent13fbe7253c95881ede787004a4c3a1c31502e5c6 (diff)
downloadopenembedded-3c6efe8f8abc16668ca5e9cdf7a46665dac87172.tar.gz
Merge branch 'master' into testing-nexttested_2010-11-12testing
Diffstat (limited to 'recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch')
-rw-r--r--recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch b/recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
new file mode 100644
index 0000000000..08e7938cf6
--- /dev/null
+++ b/recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
@@ -0,0 +1,11 @@
+--- termcap-2.0.8/Makefile.ewt
++++ termcap-2.0.8/Makefile
+@@ -41,7 +41,7 @@
+
+ $(SHARED_LIB): $(OBJS)
+ cd pic; \
+- $(CC) -shared -o ../$@ -Wl,-soname,$(SONAME_SHARED_LIB) $(OBJS)
++ $(CC) -shared -o ../$@ -Wl,-soname,$(SONAME_SHARED_LIB) $(OBJS) -lc
+
+ pic:
+ -if [ ! -d pic ]; then mkdir pic; fi