fix link order

This commit is contained in:
naddy 2009-03-24 21:19:20 +00:00
parent 28c083f9ee
commit 4098c29234

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-Makefile,v 1.4 2009/03/24 21:19:20 naddy Exp $
--- Makefile.orig Tue Aug 21 12:17:36 2007
+++ Makefile Tue Mar 24 22:15:48 2009
@@ -7,6 +7,6 @@ SUBDIR= pfstatd
CFLAGS+= -Wall
CFLAGS+= -I${LOCALBASE}/include -I${.CURDIR}
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib
-LDFLAGS+= -lgd -lm -lpng -lz -ljpeg
+LDADD= -lgd -lpng -lz -lm -ljpeg
.include <bsd.prog.mk>