aboutsummaryrefslogtreecommitdiff
path: root/recipes/termcap/termcap-2.0.8/001_all_termcap-shared.patch
blob: 08e7938cf648b0434604a585c8193bfdfdea95c2 (plain)
1
2
3
4
5
6
7
8
9
10
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