aboutsummaryrefslogtreecommitdiff
path: root/recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
diff options
context:
space:
mode:
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 0000000..08e7938
--- /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