summaryrefslogtreecommitdiff
path: root/graphics/netpbm/patches/patch-ad
blob: 431d5fe946d75ee8612963940dca9ac93b53131f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ad,v 1.11 2002/08/25 18:39:20 jlam Exp $
--- Makefile.common.orig	Tue Jul  2 02:28:12 2002
+++ Makefile.common	Tue Jul  2 02:28:33 2002
@@ -199,7 +199,7 @@
 lib$(LIBROOT).$(NETPBMLIBSUFFIX).$(MAJ).$(MIN): \
     $(LIBOBJECTS) $(LIBOBJECTS_X) $(LIBLIBS) $(LIBOPT)
 	$(LD) $(LDSHLIB) -o $@ $(LIBOBJECTS) $(LIBOBJECTS_X) \
-          `$(LIBOPT) $(LIBLIBS)` -lc $(CDEBUG)
+          `$(LIBOPT) $(LIBLIBS)` $(CDEBUG)
 endif
 
 ifeq ($(NETPBMLIBTYPE),dll)
@@ -223,7 +223,7 @@
 lib$(LIBROOT).$(MAJ).$(MIN).dylib: $(LIBOBJECTS) $(LIBOBJECTS_X) $(LIBLIBS) \
                                    $(LIBOPT)
 	$(LD) $(LDSHLIB) -o $@ $(LIBOBJECTS) $(LIBOBJECTS_X) \
-          `$(LIBOPT) $(LIBLIBS)` -lc $(CDEBUG)
+          `$(LIBOPT) $(LIBLIBS)` $(CDEBUG)
 endif
 
 #--------------------------------------------------------------------------