aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-11-05 10:45:06 -0400
committerChris Larson <chris_larson@mentor.com>2010-11-05 10:45:41 -0400
commite58fe232ef1630414daa21da3ddc3464f90c4e17 (patch)
treec32b479a20b2d226889b756af5b3edde4d523a06 /recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
parent1d5c108b01d2cfdc3fbb1ce81d8268e0334e315d (diff)
downloadopenembedded-e58fe232ef1630414daa21da3ddc3464f90c4e17.tar.gz
termcap: add 2.0.8 with gentoo patchset
No one should really be using this, but what the heck. Signed-off-by: Chris Larson <chris_larson@mentor.com>
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